@Test
public void testContains() throws SQLException {

    Connection connection = null;
    try {
        ConnectionManager connectionManager = temporaryFileDatabase.getConnectionManager(true);
        initWithTestData(connectionManager);
        Equal<Car, String> equal = equal(Car.FEATURES, "abs");
        connection = connectionManager.getConnection(null, noQueryOptions());
        Assert.assertTrue(DBQueries.contains(1, equal, NAME, connection));
        Assert.assertFalse(DBQueries.contains(4, equal, NAME, connection));
    }finally {
        DBUtils.closeQuietly(connection);
    }
}