assertSame($exception, $reason); return; } $this->fail("Promise was not failed"); } }