Beispiel #1
0
        public void GetShipperByName_ShouldCallOnce_WhenName()
        {
            // Act
            var result = _shipperService.GetShipperByName("name");

            // Assert
            _shipperRepository.Verify(x => x.FirstOrDefault(It.IsAny<Expression<Func<ShipperModel, bool>>>()));
        }