Created
June 9, 2020 10:31
-
-
Save vedon/6326141fa7d2415832f5570b03534cb6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 testFeature2() { | |
let dependencies: Feature2.Dependencies = AnyInitializer(Feature2.Dependencies.init).resolve(by: container) | |
let f2 = Feature2(dependencies: dependencies) | |
f2.doSomething() | |
} | |
output: | |
Test Case '-[DITests.DITests testFeature2]' started. | |
Feature2 do something | |
Feature1 do something | |
Feature3 do something |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment