when($callback); $this->assertSame(1, $invoked); $this->assertSame($exception, $reason); } }