<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">




    <services>
        <service id="vit.guest_book.comment" class="Vit\GuestBookBundle\Entity\Comment"></service>
        <!--<service id="doctrine_manager" class="\Doctrine\Common\Persistence\ManagerRegistry"></service>-->

        <!--<service id="vit.guest_book.repository"-->
                 <!--class="Vit\GuestBookBundle\Entity\CommentRepository"-->
                 <!--factory-service="doctrine.orm.entity_manager"-->
                 <!--factory-method="getRepository">-->
            <!--<argument>ExampleFooBundle:Foo</argument>-->
        <!--</service>-->

        <service id="vit.guest_book.commenter" class="Vit\GuestBookBundle\Commenter">
            <argument type="service" id="vit.guest_book.comment" />
            <!--<argument type="service" id="doctrine_manager" />-->
            <!--<argument type="service" id="vit.guest_book.repository" />-->
        </service>
    </services>

</container>

<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">




    <services>
        <service id="vit.guest_book.comment" class="Vit\GuestBookBundle\Entity\Comment"></service>
        <!--<service id="vit.guest_book.repository"-->
                 <!--class="Vit\GuestBookBundle\Entity\CommentRepository"-->
                 <!--factory-service="doctrine.orm.entity_manager"-->
                 <!--factory-method="getRepository">-->
            <!--&lt;!&ndash;<argument>ExampleFooBundle:Foo</argument>&ndash;&gt;-->
        <!--</service>-->

        <service id="vit.guest_book.commenter" class="Vit\GuestBookBundle\Commenter">
            <argument type="service" id="vit.guest_book.comment" />
            <!--<argument type="service" id="vit.guest_book.repository" />-->
        </service>
    </services>

</container>

Fix error in phpunit test class
Fix error in phpunit test class
