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