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; }
public MessageChannel(IProxyGeneratorFactory proxyFactory) { _proxyFactory = proxyFactory; }