lithium\tests\cases\console\command\CreateTest::testRunAll PHP Method

testRunAll() public method

public testRunAll ( )
    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->assertFileExists($result);
        $result = $this->_testPath . '/create_test/controllers/PostsController.php';
        $this->assertFileExists($result);
        $result = $this->_testPath . '/create_test/tests/cases/models/PostsTest.php';
        $this->assertFileExists($result);
        $result = $this->_testPath . '/create_test/tests/cases/controllers/PostsControllerTest.php';
        $this->assertFileExists($result);
    }