/** * @test * @expectedException \LogicException */ public function callingInvalidMethodThrowsException() { $arguments = new Arguments(); $arguments->nonExistingMethod(); }