/** * 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)); }
/** * 命令行使用方法 */ public function actHelp() { Stdout::title('Welcome to First example!'); return Stdout::get(); }