lithium\tests\cases\console\CommandTest::testConstruct PHP Method

testConstruct() public method

public testConstruct ( )
    public function testConstruct()
    {
        $command = new MockCommand(array('request' => $this->request));
        $expected = $this->request->env();
        $result = $command->request->env();
        $this->assertEqual($expected, $result);
        $this->request->params = array('case' => 'lithium.tests.cases.console.CommandTest');
        $command = new MockCommand(array('request' => $this->request));
        $this->assertNotEmpty($command->case);
    }