protected override void Before_each_spec() { _transPort = Mock<ITransport>(); _theUnit = new ChannelIntercept(_transPort); _theUnit.ServiceName = typeof (FakeProxy).Name; _theUnit.ServiceType = typeof(FakeProxy); }
protected override void Before_each_spec() { _filter = Mock<IChannelFilter>(); _invocation = Mock<CastleInterception.IInvocation>(); _transPort = Mock<ITransport>(); _theUnit = new ChannelIntercept(_transPort); _theUnit.PreFilters = new List<IChannelFilter>(); _theUnit.PostFilters = new List<IChannelFilter>(); }