i'm writing a unit test using EasyMock for an existing class, in one the lines i have :
Transport.send(message);
and the Transaction is a javax.mail.Transport,
and the message is a javax.mail.internet.MimeMessage.
I need to mock this Transport so it doesnt send the message anymore.
any help ...??