/** * @test * @throws RuntimeException * @return void */ public function noneAlwaysThrowsException() { $this->setExpectedException('RuntimeException'); $none = new None(); $none->getOrThrow(new RuntimeException()); }