public void GetByCustomer_NoResult()
        {
            // Arrange
            VehicleController controller = new VehicleController(vehiclesManager);

            // Act
            IEnumerable <VehicleDTO> result = controller.GetByCustomer(5);

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(0, result.Count());
        }
        public void GetByCustomer_Success()
        {
            // Arrange
            VehicleController controller = new VehicleController(vehiclesManager);

            // Act
            IEnumerable <VehicleDTO> result = controller.GetByCustomer(1);

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(3, result.Count());
            Assert.AreEqual("YS2R4X20005399401", result.ElementAt(0).VehicleId);
        }