public function testDeprectatedInit() { $this->assertException("/has been removed/i", function () { MockInitMethod::li3(); }); }