public void CallStorage_WhenVisitorRunned() { var visitor = A.Fake <IDynamicElemVisitor>(); service.RunVisitorThrougthStorage(visitor); A.CallTo(() => storageFake.RunVisitor(visitor)).MustHaveHappenedOnceExactly(); }
public Task RunVisitorThrougthStorage(IDynamicElemVisitor visitor) { return(storage.RunVisitor(visitor)); }