public function shouldThrowExceptionIfConstructedWithAPromise() { $this->setExpectedException('\\InvalidArgumentException'); return new FulfilledPromise(new FulfilledPromise()); }