Exemplo n.º 1
0
 protected override void Before_each_spec()
 {
    _transPort = Mock<ITransport>();
    _theUnit = new ChannelIntercept(_transPort);
    _theUnit.ServiceName = typeof (FakeProxy).Name;
    _theUnit.ServiceType = typeof(FakeProxy);
 }
Exemplo n.º 2
0
 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>();
 }