use of org.summerb.users.api.AuthTokenService in project summerb by skarpushin.
the class AuthTokenServiceDbImplTest method testCreateAuthToken_defensive_passwordNull.
@Test(expected = IllegalArgumentException.class)
public void testCreateAuthToken_defensive_passwordNull() throws Exception {
AuthTokenService fixture = AuthTokenServiceDbImplFactory.createAuthTokenServiceDbImpl();
fixture.authenticate("", null, "");
fail();
}
Aggregations