Testing with pre-conditions like scientific experiment

If you don't assert that the thing is in the right state before you you make your change you don't know if it was already in the bad state or not, or if your test did anything.

Think of yourself like a scientist. You:

  1. Test that it's in the expected state before hand
  2. Make the change
  3. Make sure it's different or not different as expected