Source

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

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

		$result = $this->_testPath . '/create_test/models/Posts.php';
		$this->assertTrue(file_exists($result));

		$result = $this->_testPath . '/create_test/controllers/PostsController.php';
		$this->assertTrue(file_exists($result));

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

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