/**
* @dataProvider themeBlockInheritanceProvider
*/
public function testThemeBlockInheritance($theme) { $view =
$this->factory
->
createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\EmailType'
) ->
createView() ;
$this->
setTheme($view,
$theme);
$this->
assertMatchesXpath( $this->
renderWidget($view),
'/input[@type="email"][@rel="theme"]'
);
} /**
* @dataProvider themeInheritanceProvider
*/
public function testThemeInheritance($parentTheme,
$childTheme) {