@Test
void shouldCreateAuthenticationException()
{

    String code = "Neo.ClientError.Security.Unauthorized";
    String message = "Wrong credentials";
    Neo4jException error = newNeo4jError( code, message );
    assertThat( error, instanceOf( AuthenticationException.class ) );
    assertEquals( code, error.code() );
    assertEquals( message, error.getMessage() );
}