@Test
void shouldCreateTransientException()
{

    String code = "Neo.TransientError.Transaction.DeadlockDetected";
    String message = "Deadlock occurred";
    Neo4jException error = newNeo4jError( code, message );
    assertThat( error, instanceOf( TransientException.class ) );
    assertEquals( code, error.code() );
    assertEquals( message, error.getMessage() );
}