public void ListVehiclesByAdmin()
        {
            var existingVehicle = GetEmptyVehicle();
            var vehicles        = new List <Vehicle>()
            {
                existingVehicle
            };

            _unitOfWorkMock.Vehicles.Returns(_repositoryMock);
            _repositoryMock.GetVehicleByAdministrator(Arg.Any <int>()).Returns(vehicles);

            var controller = new VehiclesController(_unitOfWorkMock);

            IEnumerable <Vehicle> output = controller.GetAdminVehicles(1);

            CollectionAssert.AreEquivalent(vehicles, output.ToList());
        }