expect()->exception(). As long as the thrown exception extends the provided type the test is considered successful.
Exceptionthat is not expected and this test will now give a false sense of security and hide potentially problematic behavior until it actually hits production.
expect()->noAssertions(). This expectation ensures that no
asyncAssert()operations are performed for the test.