Tests would fail as: Test name: AutomationListPropertyTest::basicTest equality assertion failed - Expected: 4 - Actual : 5 It is slightly more informative when the size assertion is the last check and it fails as: - Expected: state - Actual : time-domain The performance benefits from checking size first is not relevant.