示例#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));
 }
示例#2
0
文件: cli.php 项目: ybluesky/h2o
 /**
  * 命令行使用方法
  */
 public function actHelp()
 {
     Stdout::title('Welcome to First example!');
     return Stdout::get();
 }