Beispiel #1
0
 public function testDeprectatedInit()
 {
     $this->assertException("/Deprecated/", function () {
         MockInitMethod::li3();
     });
 }
Beispiel #2
0
 public function testDeprectatedInit()
 {
     $this->assertException("/has been removed/i", function () {
         MockInitMethod::li3();
     });
 }
Beispiel #3
0
 public function testDeprectatedInit()
 {
     $this->expectException("/Deprecated/");
     MockInitMethod::li3();
 }