示例#1
0
        protected override void Before_each_spec()
        {
            _model = Mock<ComponentModel>();
             _transport = Mock<ITransport>();
             _proxyFactory = Mock<IProxyGeneratorFactory>();
             _channelIntercept = Mock<IChannelIntercept>();

             _theUnit = new MessageChannel(_proxyFactory);
             _theUnit.ChannelIntercept = _channelIntercept;
        }
示例#2
0
 public MessageChannel(IProxyGeneratorFactory proxyFactory)
 {
     _proxyFactory = proxyFactory;
 }