Symfony\Component\Form\Tests\ResolvedFormTypeTest::testCreateView PHP Method

testCreateView() public method

public testCreateView ( )
    public function testCreateView()
    {
        $form = $this->getMockBuilder('Symfony\Component\Form\Test\FormInterface')->getMock();

        $view = $this->resolvedType->createView($form);

        $this->assertInstanceOf('Symfony\Component\Form\FormView', $view);
        $this->assertNull($view->parent);
    }