public void GetVehiclesOrderedByCapacityPerFuelConsumption() { IVehicleLogic vehicleOperations = DummyProvider.GetInstance.GetVehicleOperations(); Vehicle vehicle1 = new Vehicle("SBA0001", 10, 10); Vehicle vehicle2 = new Vehicle("SBA1015", 10, 100); vehicleOperations.AddVehicle(vehicle1); vehicleOperations.AddVehicle(vehicle2); var vehiclesOrdered = vehicleOperations.GetVehiclesOrderedByCapacityPerFuelConsumption(); Assert.AreEqual(vehiclesOrdered[0], vehicle2); Assert.AreEqual(vehiclesOrdered[1], vehicle1); }