private void ConfigureObjectCollectorInOrderToKeepTheNormalFlow( BaseObjectCollector fakeObjectCollector) { Expect.Call(fakeObjectCollector.CollectDataForSystemItem(null)) .IgnoreArguments() .CallOriginalMethod(OriginalCallOptions.NoExpectation); }
private void CreateExpectationForObjectCollector( BaseObjectCollector objectCollector, CollectedItem[] fakeCollectedItemsToReturn) { Expect.Call(objectCollector.CollectDataForSystemItem(null)) .IgnoreArguments() .Return(fakeCollectedItemsToReturn); }