-
-
Save ennioma/d284e22b6ce07c990d1b9f9a9c049b8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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