@Test
void shouldCreateDatabaseException()
{

    String code = "Neo.DatabaseError.Transaction.TransactionLogError";
    String message = "Failed to write the transaction log";
    Neo4jException error = newNeo4jError( code, message );
    assertThat( error, instanceOf( DatabaseException.class ) );
    assertEquals( code, error.code() );
    assertEquals( message, error.getMessage() );
}