public void ShouldReturnDelegation()
        {
            //arrange
            var delegation = SetDelegation();
            var config     = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(new MappingProfile());
            });
            var mapper  = config.CreateMapper();
            var delRepo = new Mock <IDelegationRepository>();

            delRepo.Setup(d => d.GetDelegationById(1)).Returns(delegation);
            var vehRepo = new Mock <IVehicleRepository>();
            var empRepo = new Mock <IEmployeeRepository>();
            var delServ = new DelegationService(delRepo.Object, empRepo.Object, vehRepo.Object, mapper);
            //act
            var delResult = delServ.GetDelegationById(1);

            //assert
            delResult.Should().BeOfType(typeof(Delegation));
            delResult.Should().NotBeNull();
            delResult.Should().BeSameAs(delegation);
        }