XCTestExpectation Class Reference

Inherits from NSObject
Declared in XCTestCase+AsynchronousTesting.h

Overview

@class XCTestExpectation

@discussion Expectations represent specific conditions in asynchronous testing.

– fulfill

@method -fulfill

- (void)fulfill

Discussion

@discussion Call -fulfill to mark an expectation as having been met. It’s an error to call -fulfill on an expectation that has already been fulfilled or when the test case that vended the expectation has already completed.

Declared In

XCTestCase+AsynchronousTesting.h