You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/07/27 11:06:01 UTC

svn commit: r1507606 - /commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java

Author: britter
Date: Sat Jul 27 09:06:01 2013
New Revision: 1507606

URL: http://svn.apache.org/r1507606
Log:
Remove another senseless assertion, Authenticator is the methods return type - no need to test this

Modified:
    commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java

Modified: commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java?rev=1507606&r1=1507605&r2=1507606&view=diff
==============================================================================
--- commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java (original)
+++ commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java Sat Jul 27 09:06:01 2013
@@ -21,7 +21,6 @@ import static org.junit.Assert.assertFal
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import javax.mail.Authenticator;
 import javax.mail.Session;
 import javax.mail.internet.InternetAddress;
 import javax.mail.internet.MimeMessage;
@@ -137,8 +136,6 @@ public class EmailTest extends AbstractE
             (DefaultAuthenticator) email.getAuthenticator();
 
         // tests
-        assertTrue(
-            Authenticator.class.isInstance(email.getAuthenticator()));
         assertEquals(
                 strUsername,
                 retrievedAuth.getPasswordAuthentication().getUserName());