public void SetUp() { ExtensionMethods.SetHeaderAction = headerManager.SetHeader; ExtensionMethods.GetHeaderAction = headerManager.GetHeader; dataBus = MockRepository.GenerateMock <IDataBus>(); var databusMutator = new DataBusMessageMutator(dataBus, new DefaultDataBusSerializer()); incomingMutator = databusMutator; outgoingMutator = databusMutator; }
public void SetUp() { ExtensionMethods.SetHeaderAction = headerManager.SetHeader; ExtensionMethods.GetHeaderAction = headerManager.GetHeader; dataBus = MockRepository.GenerateMock<IDataBus>(); var databusMutator = new DataBusMessageMutator(dataBus, new DefaultDataBusSerializer()); incomingMutator = databusMutator; outgoingMutator = databusMutator; }