/// <summary>Sets the stub of IFoodLogEntryRepository.Delete(Int32 id)</summary> void mhw::MercuryHealth.Web.Models.IFoodLogEntryRepository.Delete(int id) { mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer = ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable) this).InstanceObserver; if ((object)___observer != (object)null) { mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action <int> ___currentMethod = ((mhw::MercuryHealth.Web.Models.IFoodLogEntryRepository) this).Delete; ___observer.Enter(typeof(mhw::MercuryHealth.Web.Models.IFoodLogEntryRepository), (global::System.Delegate)___currentMethod, (object)id); } mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action <int> ___sh = this.DeleteInt32; if ((object)___sh != (object)null) { ___sh.Invoke(id); } else { mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior = ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub) this).InstanceBehavior; ___behavior.VoidResult <global::MercuryHealth.Web.Models.Fakes.StubIFoodLogEntryRepository> (this, "MercuryHealth.Web.Models.IFoodLogEntryRepository.Delete"); } }
/// <summary>Sets the stub of ILogger.WriteVerbose(String message)</summary> void ppocc::PostPOC.Common.ILogger.WriteVerbose(string message) { mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObserver ___observer = ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubObservable) this).InstanceObserver; if ((object)___observer != (object)null) { mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action <string> ___currentMethod = ((ppocc::PostPOC.Common.ILogger) this).WriteVerbose; ___observer.Enter(typeof(ppocc::PostPOC.Common.ILogger), (global::System.Delegate)___currentMethod, (object)message); } mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action <string> ___sh = this.WriteVerboseString; if ((object)___sh != (object)null) { ___sh.Invoke(message); } else { mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior ___behavior = ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub) this).InstanceBehavior; ___behavior.VoidResult <global::PostPOC.Common.Fakes.StubILogger>(this, "PostPOC.Common.ILogger.WriteVerbose"); } }
/// <summary>Sets the stub of IWarehouse.Remove(String itemName, Int32 quantity)</summary> void wo::WarehouseOrdering.IWarehouse.Remove(string itemName, int quantity) { mqttf::Microsoft.QualityTools.Testing.Fakes.FakesDelegates.Action <string, int> sh = this.RemoveStringInt32; if ((object)sh != (object)null) { sh.Invoke(itemName, quantity); } else { mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStubBehavior _behavior = ((mqttf::Microsoft.QualityTools.Testing.Fakes.Stubs.IStub) this).InstanceBehavior; _behavior.VoidResult <global::WarehouseOrdering.Fakes.StubIWarehouse>(this, "WarehouseOrdering.IWarehouse.Remove"); } }