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