/** * @expectedException \BadMethodCallException */ public function testCallGetterToInexistentPropertyThrowsAnException() { $testCase = new TestsCases\BaseTestCase(); $testCase->getInexistentProperty(); }
/** * @expectedException \BadMethodCallException */ public function testCallGetterToInexistentPropertyThrowsAnException() { $testCase = new TestsCases\BaseTestCase(); $testCase->getInexistentProperty(); }