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