use of org.apache.ftpserver.usermanager.AnonymousAuthentication in project ddf by codice.
the class UserManagerImplTest method wrongAuthType.
@Test(expected = AuthenticationFailedException.class)
public void wrongAuthType() throws AuthenticationFailedException {
AnonymousAuthentication anonAuthentication = mock(AnonymousAuthentication.class);
userManager.authenticate(anonAuthentication);
}
Aggregations