use of jakarta.nosql.mapping.column.ColumnQueryExecute in project jnosql-diana by eclipse.
the class DefaultColumnEventPersistManagerTest method shouldFirePreQuery.
@Test
public void shouldFirePreQuery() {
ColumnQuery query = select().from("person").build();
subject.firePreQuery(query);
ArgumentCaptor<ColumnQueryExecute> captor = ArgumentCaptor.forClass(ColumnQueryExecute.class);
verify(columnQueryExecute).fire(captor.capture());
assertEquals(query, captor.getValue().getQuery());
}
Aggregations