public static AuthenticationResult finished(final String username, final String hostname, final String database) {
        return new AuthenticationResult(username, hostname, database, true);
    }
@Test
    void assertFinished() {
        AuthenticationResult actual = AuthenticationResultBuilder.finished("username", "127.0.0.1", "database");
        assertThat(actual.getUsername(), is("username"));
        assertThat(actual.getHostname(), is("127.0.0.1"));
        assertThat(actual.getDatabase(), is("database"));
        assertTrue(actual.isFinished());
    }