After you have finished this exercise, you understand how you can write the row level assertions which ensure that the correct information is inserted into a database table. You can finish this exercise by following these steps:
1. Open the CreateTodoItemTest
class that’s found from the com.cleantestautomation.assertjdb.todoitem
package.
2. Write the row level assertions which ensure that the system under inserts the correct information into the todo_item
table.
You can get the “current local date and time” by using the
CURRENT_LOCAL_DATE_TIME
constant that’s found from the ConstantDateTimeService
class.3. Run the tests found from the CreateTodoItemTest
class and make sure that they pass.