Beispiel #1
0
 /**
  * Test simple add call
  */
 public function testNotify()
 {
     $sText = md5(time());
     $this->assertInstanceOf('\\notifyy\\AbstractAdapter', $this->_object->notify(\notifyy\Notifyable::SUCCESS, $sText));
     $this->expectOutputRegex(sprintf('/%s/', $sText));
 }
Beispiel #2
0
 /**
  * 命令行使用方法
  */
 public function actHelp()
 {
     Stdout::title('Welcome to First example!');
     return Stdout::get();
 }