/** * @expectedException \BadMethodCallException */ public function testCallGetterWithTheWrongNumberOfArgumentsThrowsAnException() { $testCase = new TestsCases\BaseTestCase(); $testCase->getAccessibleProperty("a"); }