commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1507603 - /commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailTest.java
Date Sat, 27 Jul 2013 09:01:06 GMT
Author: britter
Date: Sat Jul 27 09:01:05 2013
New Revision: 1507603

URL: http://svn.apache.org/r1507603
Log:
Remove senseless assertion. getAuthenticator will always return an instance of Authenticator,
since that's the methods return type

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=1507603&r1=1507602&r2=1507603&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:01:05 2013
@@ -113,8 +113,6 @@ public class EmailTest extends AbstractE
             (DefaultAuthenticator) email.getAuthenticator();
 
         // tests
-        assertTrue(
-            Authenticator.class.isInstance(email.getAuthenticator()));
         assertEquals(
             strUsername,
             retrievedAuth.getPasswordAuthentication().getUserName());



Mime
View raw message