spec\Sylius\Bundle\ShippingBundle\Form\EventSubscriber\BuildShippingMethodFormSubscriberSpec::it_subscribes_to_event PHP Метод

it_subscribes_to_event() публичный Метод

    function it_subscribes_to_event()
    {
        $this::getSubscribedEvents()->shouldReturn([FormEvents::PRE_SET_DATA => 'preSetData', FormEvents::PRE_SUBMIT => 'preSubmit']);
    }