AuthenticationResultBuilder { public static AuthenticationResult continued() { return new AuthenticationResult(null, null, false); }  static AuthenticationResult finished(final String username, final String database); static AuthenticationResult continued(); static AuthenticationResult continued(final String username, final String database);  }
@Test public void assertContinuedWithEmpty() { AuthenticationResult actual = AuthenticationResultBuilder.continued(); assertNull(actual.getUsername()); assertNull(actual.getDatabase()); assertFalse(actual.isFinished()); }
@Test public void assertContinued() { AuthenticationResult actual = AuthenticationResultBuilder.continued("username", "database"); assertThat(actual.getUsername(), is("username")); assertThat(actual.getDatabase(), is("database")); assertFalse(actual.isFinished()); }