public override void Given() { messageSender = Moq.Mock<IMessageSender>(); var messageMap = Moq.Mock<IMessageMap_v2>(); messageMap.SetupGet(x => x.MessageType).Returns(typeof(ChangeOrderAttributes)); viewModel = new MessageMapViewModel(messageSender, messageMap); }
public override void Given() { messageSender = Moq.Mock <IMessageSender>(); var messageMap = Moq.Mock <IMessageMap_v2>(); messageMap.SetupGet(x => x.MessageType).Returns(typeof(ChangeOrderAttributes)); viewModel = new MessageMapViewModel(messageSender, messageMap); }