mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-10-19 08:36:12 +02:00
tea/Tests/Unit/Domain/Repository/Product/TeaRepositoryTest.php
Łukasz Uznański 4bde411dd8
[TASK] Remove author annotations (#294)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-09-07 08:51:11 +02:00

41 lines
954 B
PHP

<?php
declare(strict_types=1);
namespace TTN\Tea\Tests\Unit\Domain\Repository\Product;
use Nimut\TestingFramework\TestCase\UnitTestCase;
use Prophecy\Prophecy\ProphecySubjectInterface;
use TTN\Tea\Domain\Repository\Product\TeaRepository;
use TYPO3\CMS\Extbase\Object\ObjectManagerInterface;
use TYPO3\CMS\Extbase\Persistence\Repository;
/**
* Test case.
*/
class TeaRepositoryTest extends UnitTestCase
{
/**
* @var TeaRepository
*/
private $subject = null;
/**
* @var ObjectManagerInterface|ProphecySubjectInterface
*/
protected $objectManager = null;
protected function setUp(): void
{
$this->objectManager = $this->prophesize(ObjectManagerInterface::class)->reveal();
$this->subject = new TeaRepository($this->objectManager);
}
/**
* @test
*/
public function isRepository(): void
{
self::assertInstanceOf(Repository::class, $this->subject);
}
}