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>(); }
protected override void Before_each_spec() { _invocation = Mock<CastleInterception.IInvocation>(); _proxyMethod = ObjectMother.GetMethodInfo(); _theUnit = new ComposeRequestFilter(); //Note just for coverage _theUnit.ChannelResponse = new ChannelResponse(); ChannelResponse response = _theUnit.ChannelResponse; }
protected override void Before_each_spec() { _invocation = Mock<CastleInterception.IInvocation>(); _theUnit = new SerializeRequestFilter(); //Note just for coverage _theUnit.ChannelResponse = new ChannelResponse(); ChannelResponse response = _theUnit.ChannelResponse; }
protected override void Before_each_spec() { _invocation = Mock<CastleInterception.IInvocation>(); _credentialsProvider = Mock<ICredentialsProvider>(); _theUnit = new RequestCredentialsFilter(); _theUnit.CredentialsProvider = _credentialsProvider; //Note just for coverage _theUnit.ChannelResponse = new ChannelResponse(); ChannelResponse response = _theUnit.ChannelResponse; }
protected override void Before_each_spec() { _invocation = Mock<CastleInterception.IInvocation>(); _theUnit = new InvocationReturnFilter(); //For coverage only _theUnit.ChannelRequest = new ChannelRequest(); ChannelRequest dummy = _theUnit.ChannelRequest; }