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