<?php

declare(strict_types=1);

namespace MauticPlugin\MauticFocusBundle\Tests\Form\Type;

use MauticPlugin\MauticFocusBundle\Form\Type\ContentType;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Form\FormBuilderInterface;

class ContentTypeTest extends TestCase
{
    /**
     * @var mixed|\PHPUnit\Framework\MockObject\MockObject|FormBuilderInterface
     */
    private \PHPUnit\Framework\MockObject\MockObject $formBuilder;

    protected function setUp(): void
    {
        $this->formBuilder = $this->createMock(FormBuilderInterface::class);
    }

    public function testBuilderForm(): void
    {
        $this->formBuilder->expects(self::exactly(7))->method('add')->willReturnSelf();
        $options     = [];
        $contentType = new ContentType();
        $contentType->buildForm($this->formBuilder, $options);
    }
}
