testFinishAsyncWithError method
Called during testing to simulate results from an asynchronous call.
Implementation
void testFinishAsyncWithError(AFStateTestContext context, AFQueryError error) {
final errorContext = AFFinishQueryErrorContext(
conceptualStore: conceptualStore,
error: error
);
finishAsyncWithErrorAF(errorContext);
}