@Test
public void shouldCountByFilter() {

	createModel("test", "test123");
	createModel("test1", "test124");
	createModel("test1", "test124");
	assertEquals(DummyModel.count(new Filter(new Condition("column2", "test124"))), 2);
}