Symfony\Component\DomCrawler\Tests\FormTest::testTypeAttributeIsCaseInsensitive PHP Method

testTypeAttributeIsCaseInsensitive() public method

    public function testTypeAttributeIsCaseInsensitive()
    {
        $form = $this->createForm('<form method="post"><input type="IMAGE" name="example" /></form>');
        $this->assertTrue($form->has('example.x'), '->has() returns true if the image input was correctly turned into an x and a y fields');
        $this->assertTrue($form->has('example.y'), '->has() returns true if the image input was correctly turned into an x and a y fields');
    }