protected MockObject(CompositeType mockedType, string name, IExpectationCollector expectationCollector, IInvocationListener invocationListener)
 {
     this.name = name;
     this.invocationListener = invocationListener;
     this.expectationCollector = expectationCollector;
     mockedTypes = mockedType;
 }
 public MockObjectInterceptor(CompositeType mockedType, string name, IExpectationCollector expectationCollector, IInvocationListener invocationListener)
     : base(mockedType, name, expectationCollector, invocationListener)
 {
 }
 public CastleMockObjectFactory(IExpectationCollector expectationCollector, IInvocationListener invocationListener)
 {
     this.expectationCollector = expectationCollector;
     this.invocationListener = invocationListener;
 }