use Bdf\SerializerBundle\DependencyInjection\Compiler\SerializerNormalizerPass;
6
use PHPUnit\Framework\TestCase;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\DependencyInjection\Reference;
9
10
/**
11
*
12
*/
13
class SerializerNormalizerPassTest extends TestCase
14
{
15
/**
16
*
17
*/
18
public function test_throw_exception_when_no_normalizers()
19
{
20
$this->expectException(\RuntimeException::class);
21
$this->expectExceptionMessage('You must tag at least one service as "bdf_serializer.normalizer" to use the "bdf_serializer.normalizer.loader" service');