Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- email = LockJar::ClassLoader.new( 'tmp/IsolateJarfile.lock' ).isolate do
- email = new_instance( 'org.apache.commons.mail.SimpleEmail' )
- email.setSubject( 'test subject' )
- email
- end
- email.getSubject().should eql 'test subject'
Add Comment
Please, Sign In to add comment