Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Added test case for update functionality #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ public void findCar() throws Exception {
* a vehicle by ID. This should utilize the car from `getCar()` below.
*/
}

/**
* Tests the update operation of the car by.
* @throws Exception when car update fails in the system
*/
@Test
public void updateCar() throws Exception {
/**
* TODO: Add a test to check whether a vehicle is appropriately update or not.
* This should utilize the car from `getCar()` below.
*/
}

/**
* Tests the deletion of a single car by ID.
Expand Down Expand Up @@ -147,4 +159,4 @@ private Car getCar() {
car.setCondition(Condition.USED);
return car;
}
}
}