Exemplo n.º 1
0
        public void NotificationHasOneCarrier_ReturnsListWithOneItem()
        {
            carrierCollection.AddCarrier(firstCarrier.Business, firstCarrier.Address, firstCarrier.Contact);

            var result = CarrierViewModel.CreateCarrierViewModelsForNotification(meansOfTransport, carrierCollection, formatter);

            Assert.Equal(1, result.Count);
        }