RemoveCustomerTagAction example

class RemoveCustomerTagActionTest extends TestCase
{
    private MockObject&EntityRepository $repository;

    private RemoveCustomerTagAction $action;

    private MockObject&StorableFlow $flow;

    protected function setUp(): void
    {
        $this->repository = $this->createMock(EntityRepository::class);
        $this->action = new RemoveCustomerTagAction($this->repository);

        $this->flow = $this->createMock(StorableFlow::class);
    }

    public function testRequirements(): void
    {
        static::assertSame(
            [CustomerAware::class],
            $this->action->requirements()
        );
    }

    
Home | Imprint | This part of the site doesn't use cookies.