@Test
public void shouldCallCountWithFilter() throws Throwable {

    DummyModel dummyModel1 = createModel(RandomStringUtils.randomAlphabetic(5), RandomStringUtils.randomAlphabetic(5));
    createModel(RandomStringUtils.randomAlphabetic(5), RandomStringUtils.randomAlphabetic(5));
    assertEquals(ModelInterceptor.count(DummyModel.class.getMethod("count", Filter.class), new Filter(new Condition("column1", dummyModel1.getColumn1()))), 1L);
}