*/ class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase { /** * @var TestimonialRepository */ protected $subject; /** * @var ObjectManagerInterface|\PHPUnit_Framework_MockObject_MockObject */ protected $objectManager = null; protected function setUp() { $this->objectManager = $this->getMock(ObjectManagerInterface::class); $this->subject = new TestimonialRepository($this->objectManager); } /** * @test */ public function canBeInstantiated() { self::assertNotNull( $this->subject ); } }