func testDummyMethod() { | |
let dummyContext = try! DummyContext(configuration: .inMemory(identifier: nil)) | |
let fooObject = FooObject(context: dummyContext) | |
let exp = self.expectation(description: "dummy test") | |
fooObject.dummyMethod { (status) in | |
XCTAssertEqual(status, false) | |
exp.fulfill() | |
} | |
self.waitForExpectations(timeout: 1, handler: nil) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment