Created
November 23, 2018 09:26
-
-
Save PiotrPerak/431747f483e81681c93ec092b8f4a75c 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
public TestedObject CreateSut(IDependency dep = null, IDependency2 dep2 = null) | |
{ | |
return new TestedObject( | |
dep ?? Mock.Of<IDependency>(), | |
dep2 ?? Mock.Of<IDependency2>()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment