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
class SerializerNormalizerPassTest extends TestCase
11
{
12
public function testThrowExceptionWhenNoNormalizers()
13
{
14
$this->expectException(\RuntimeException::class);
15
$this->expectExceptionMessage('You must tag at least one service as "bdf_serializer.normalizer" to use the "bdf_serializer.normalizer.loader" service');