public function testFakeMethod() { $this->setExpectedException('Gc\\Exception'); $this->object->fakeMethodToLaunchException(); }