@Test
public void testDeleteMatching() {

    QueryByCriteria query = QueryByCriteria.Builder.create().build();
    service.deleteMatching(Object.class, query);
    verify(mockProvider).deleteMatching(any(Class.class), eq(query));
}