name: WorkflowTest
class_comment: null
dependencies:
- name: TestCase
  type: class
  source: PHPUnit\Framework\TestCase
- name: EventDispatcher
  type: class
  source: Symfony\Component\EventDispatcher\EventDispatcher
- name: Definition
  type: class
  source: Symfony\Component\Workflow\Definition
- name: Event
  type: class
  source: Symfony\Component\Workflow\Event\Event
- name: GuardEvent
  type: class
  source: Symfony\Component\Workflow\Event\GuardEvent
- name: TransitionEvent
  type: class
  source: Symfony\Component\Workflow\Event\TransitionEvent
- name: LogicException
  type: class
  source: Symfony\Component\Workflow\Exception\LogicException
- name: NotEnabledTransitionException
  type: class
  source: Symfony\Component\Workflow\Exception\NotEnabledTransitionException
- name: UndefinedTransitionException
  type: class
  source: Symfony\Component\Workflow\Exception\UndefinedTransitionException
- name: Marking
  type: class
  source: Symfony\Component\Workflow\Marking
- name: MethodMarkingStore
  type: class
  source: Symfony\Component\Workflow\MarkingStore\MethodMarkingStore
- name: Transition
  type: class
  source: Symfony\Component\Workflow\Transition
- name: TransitionBlocker
  type: class
  source: Symfony\Component\Workflow\TransitionBlocker
- name: Workflow
  type: class
  source: Symfony\Component\Workflow\Workflow
- name: WorkflowEvents
  type: class
  source: Symfony\Component\Workflow\WorkflowEvents
- name: WorkflowBuilderTrait
  type: class
  source: WorkflowBuilderTrait
properties: []
methods:
- name: testGetMarkingWithEmptyDefinition
  visibility: public
  parameters: []
  comment: null
- name: testGetMarkingWithImpossiblePlace
  visibility: public
  parameters: []
  comment: null
- name: testGetMarkingWithEmptyInitialMarking
  visibility: public
  parameters: []
  comment: null
- name: testGetMarkingWithExistingMarking
  visibility: public
  parameters: []
  comment: null
- name: testCanWithUnexistingTransition
  visibility: public
  parameters: []
  comment: null
- name: testCan
  visibility: public
  parameters: []
  comment: null
- name: testCanWithGuard
  visibility: public
  parameters: []
  comment: null
- name: testCanDoesNotTriggerGuardEventsForNotEnabledTransitions
  visibility: public
  parameters: []
  comment: null
- name: testCanWithSameNameTransition
  visibility: public
  parameters: []
  comment: null
- name: testBuildTransitionBlockerListReturnsUndefinedTransition
  visibility: public
  parameters: []
  comment: null
- name: testBuildTransitionBlockerList
  visibility: public
  parameters: []
  comment: null
- name: testBuildTransitionBlockerListReturnsReasonsProvidedByMarking
  visibility: public
  parameters: []
  comment: null
- name: testBuildTransitionBlockerListReturnsReasonsProvidedInGuards
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithNotExisingTransition
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithNotEnabledTransition
  visibility: public
  parameters: []
  comment: null
- name: testApply
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithSameNameTransition
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithSameNameTransition2
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithSameNameTransition3
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithEventDispatcher
  visibility: public
  parameters: []
  comment: null
- name: provideApplyWithEventDispatcherForAnnounceTests
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithEventDispatcherForAnnounce
  visibility: public
  parameters:
  - name: fired
  - name: context
  comment: '# * @dataProvider provideApplyWithEventDispatcherForAnnounceTests'
- name: testApplyDispatchesWithDisableEventInContext
  visibility: public
  parameters: []
  comment: null
- name: testApplyDispatchesNoEventsWhenSpecifiedByDefinition
  visibility: public
  parameters: []
  comment: null
- name: testApplyOnlyDispatchesEventsThatHaveBeenSpecifiedByDefinition
  visibility: public
  parameters: []
  comment: null
- name: testApplyDoesNotTriggerExtraGuardWithEventDispatcher
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithContext
  visibility: public
  parameters: []
  comment: null
- name: testEventName
  visibility: public
  parameters: []
  comment: null
- name: testEventContext
  visibility: public
  parameters: []
  comment: null
- name: testEventContextUpdated
  visibility: public
  parameters: []
  comment: null
- name: testEventDefaultInitialContext
  visibility: public
  parameters: []
  comment: null
- name: testMarkingStateOnApplyWithEventDispatcher
  visibility: public
  parameters: []
  comment: null
- name: testGetEnabledTransitions
  visibility: public
  parameters: []
  comment: null
- name: testGetEnabledTransition
  visibility: public
  parameters: []
  comment: null
- name: testGetEnabledTransitionsWithSameNameTransition
  visibility: public
  parameters: []
  comment: null
- name: testApplyWithSameNameBackTransition
  visibility: public
  parameters:
  - name: transition
  comment: '# * @@testWith ["back1"]

    # *            ["back2"]'
- name: assertPlaces
  visibility: private
  parameters:
  - name: expected
  - name: marking
  comment: null
- name: dispatch
  visibility: public
  parameters:
  - name: event
  - name: eventName
    default: 'null'
  comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\EventDispatcher\EventDispatcher
- Symfony\Component\Workflow\Definition
- Symfony\Component\Workflow\Event\Event
- Symfony\Component\Workflow\Event\GuardEvent
- Symfony\Component\Workflow\Event\TransitionEvent
- Symfony\Component\Workflow\Exception\LogicException
- Symfony\Component\Workflow\Exception\NotEnabledTransitionException
- Symfony\Component\Workflow\Exception\UndefinedTransitionException
- Symfony\Component\Workflow\Marking
- Symfony\Component\Workflow\MarkingStore\MethodMarkingStore
- Symfony\Component\Workflow\Transition
- Symfony\Component\Workflow\TransitionBlocker
- Symfony\Component\Workflow\Workflow
- Symfony\Component\Workflow\WorkflowEvents
- WorkflowBuilderTrait
interfaces:
- \Symfony\Contracts\EventDispatcher\EventDispatcherInterface