Source

						public function testRunWithTestOtherCommand() {
		$this->request->params = array(
			'library' => 'create_test', 'command' => 'create', 'action' => 'test',
			'args' => array('something', 'Posts')
		);

		$create = new MockCreate(array('request' => $this->request));
		$create->run('test');

		$expected = 'something';
		$result = $create->request->command;
		$this->assertEqual($expected, $result);

		$result = $this->_testPath . '/create_test/tests/cases/something/PostsTest.php';
		$this->assertTrue(file_exists($result));
	}