public void CallStorage_WhenVisitorRunned()
        {
            var visitor = A.Fake <IDynamicElemVisitor>();

            service.RunVisitorThrougthStorage(visitor);
            A.CallTo(() => storageFake.RunVisitor(visitor)).MustHaveHappenedOnceExactly();
        }
Exemple #2
0
 public Task RunVisitorThrougthStorage(IDynamicElemVisitor visitor)
 {
     return(storage.RunVisitor(visitor));
 }