public void SutNotCreated_SetsDependencyAsLooseMock() { //arrange //act _testSuit.SetDependencyToLooseMock <IDependency2>(); //assert _testSuit.Sut.Dependency2.Invoking(d => d.Action2()).Should().NotThrow(" its a loose mock"); }
public CommandExecutorTests() { _suit.Reset(); _suit.SetDependencyToLooseMock <ILogger <CommandExecutor> >(); }