After you have finished this exercise, you understand how you can write reusable assertion methods which ensure that no changes were made to the data that’s found from the row X
of the table Y
. You can finish this exercise by following these steps:
1. Create a new custom assertion class and put this class to the com.cleantestautomation.assertjdb.todoitem
package.
2. Write the custom assertion method which ensures that no changes were made to the data that’s found from the first row of the todo_item
table.
3. Write the custom assertion method which verifies that no changes were made to the data that’s found from the second row of the todo_item
table.