public function testStopUsage() { Nano::setApplication(null); self::assertEquals(200, $this->cli->run(array('no-description'))); self::assertContains('[script stop message]', $this->getActualOutput()); }
public function testRunShouldReturnScriptResultAfterExecute() { Nano::setApplication(null); self::assertEquals(100, $this->cli->run(array('test-script'))); self::assertContains('[test script was run]', $this->getActualOutput()); }