assertSame($exception, $reason); return; } $this->fail('Failed promise reason should be thrown from loop'); } }