public void ProcessShipment_SendsMessage() { var vm = new Example2b(clientMock.Object); vm.ProcessShipment(); clientMock.Verify(x => x.Send(It.IsAny<MailMessage>()), Times.Once()); }
public void ProcessShipment_SendsMessage() { var vm = new Example2b(clientMock.Object); vm.ProcessShipment(); clientMock.Verify(x => x.Send(It.IsAny <MailMessage>()), Times.Once()); }