public function testHelpCommand() { $argv = array('./dbpatch.php', 'help', 'update'); $console = new DbPatch_Core_Console($argv); $this->assertEquals('help', $console->getCommand()); $this->assertEquals(array('update' => 'update'), $console->getOptions()); }