17 lines
485 B
PHP
17 lines
485 B
PHP
|
<?php
|
||
|
|
||
|
namespace Symfony\Tests\Component\DependencyInjection\Configuration;
|
||
|
|
||
|
use Symfony\Component\DependencyInjection\Configuration\ArrayNode;
|
||
|
|
||
|
class ArrayNodeTest extends \PHPUnit_Framework_TestCase
|
||
|
{
|
||
|
/**
|
||
|
* @expectedException Symfony\Component\DependencyInjection\Configuration\Exception\InvalidTypeException
|
||
|
*/
|
||
|
public function testNormalizeThrowsExceptionWhenFalseIsNotAllowed()
|
||
|
{
|
||
|
$node = new ArrayNode('root');
|
||
|
$node->normalize(false);
|
||
|
}
|
||
|
}
|