lithium\tests\cases\template\helper\SecurityTest::testConstruct PHP Method

testConstruct() public method

Tests that the helper can be constructed with a custom configuration.
public testConstruct ( )
    public function testConstruct()
    {
        $this->subject = new Security(array('context' => $this->context, 'classes' => array('password' => __CLASS__, 'requestToken' => __CLASS__)));
        $this->assertPattern('/value="WORKING"/', $this->subject->requestToken());
    }