private void VerifyIsStub(ICollectionOfServices objectToCheck) { IDisposable whatever = mocks.StrictMock <IDisposable>(); objectToCheck.SomethingToDispose = whatever; Assert.AreSame(objectToCheck.SomethingToDispose, whatever, "stub has properties that behave like properties"); }
public ComponentBeingConfigured(IReallyCoolService reallyCoolService, ICollectionOfServices services) { ReallyCoolService = reallyCoolService; Services = services; }
internal ComponentBeingConfiguredWithInternalCtor(IReallyCoolService reallyCoolService, ICollectionOfServices services) { ReallyCoolService = reallyCoolService; Services = services; }
private ComponentBeingConfiguredWithPrivateCtor(IReallyCoolService reallyCoolService, ICollectionOfServices services) { ReallyCoolService = reallyCoolService; Services = services; }
internal InternalComponentBeingConfigured(IReallyCoolService reallyCoolService, ICollectionOfServices services) { ReallyCoolService = reallyCoolService; Services = services; }