public function testMagicCallWhichIsNotGet() { $this->setExpectedException("Yadif_Exception"); $yadif = new Yadif_Container(); $yadif->someInvalidCall(); }