use of com.pushtorefresh.storio3.contentresolver.operations.SchedulerChecker in project storio by pushtorefresh.
the class PreparedGetCursorTest method getCursorSingleExecutesOnSpecifiedScheduler.
@Test
public void getCursorSingleExecutesOnSpecifiedScheduler() {
final GetCursorStub getStub = GetCursorStub.newInstance();
final SchedulerChecker schedulerChecker = SchedulerChecker.create(getStub.storIOSQLite);
final PreparedGetCursor operation = getStub.storIOSQLite.get().cursor().withQuery(getStub.query).withGetResolver(getStub.getResolverForCursor).prepare();
schedulerChecker.checkAsSingle(operation);
}
Aggregations