* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Tests\Component\DomCrawler; use Symfony\Component\DomCrawler\Form; class FormTest extends \PHPUnit_Framework_TestCase { public function testConstructorThrowsExceptionIfTheNodeHasNoFormAncestor() { $dom = new \DOMDocument(); $dom->loadHTML('