vehicles-api/src/test/java/com/udacity/vehicles/api/CarControllerTest.java
/**
     * Tests the deletion of a single car by ID.
     * @throws Exception if the delete operation of a vehicle fails
     */
Tests the deletion of a single car by ID.
@throws Exception if the delete operation of a vehicle fails
Tests the deletion of a single car by ID . @throws Exception if the delete operation of a vehicle fails
@Test
    public void deleteCar() throws Exception {
        /**
         * TODO: Add a test to check whether a vehicle is appropriately deleted
         *   when the `delete` method is called from the Car Controller. This
         *   should utilize the car from `getCar()` below.
         */
        mvc.perform(delete(new URI("/cars/1")))
                .andExpect(status().is2xxSuccessful());
    }
@ Test public void deleteCar ( ) throws Exception { /**
         * TODO: Add a test to check whether a vehicle is appropriately deleted
         *   when the `delete` method is called from the Car Controller. This
         *   should utilize the car from `getCar()` below.
         */ mvc . perform ( delete ( new URI ( "/cars/1" ) ) ) . andExpect ( status ( ) . is2xxSuccessful ( ) ) ; }
Tests the deletion of a single car by ID.
Tests the deletion of a single car by ID .