After you have finished this exercise, you understand how you can use custom assertion methods when you have to write integration tests for code that inserts a new row into a database table. You can finish this exercise by following these steps:
1. Open the
CreateTodoItemTest class that’s found from the
2. Write the table and row level assertions which ensure that the system under inserts the correct information into the
todo_item table. Use the custom assertion methods which you wrote during the exercise 1.
CURRENT_LOCAL_DATE_TIMEconstant that’s found from the
3. Run the tests found from the
CreateTodoItemTest class and make sure that they pass.