*/ class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase { /** * @var \OliverKlee\Tea\Domain\Model\Testimonial */ protected $subject; /** * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface|\PHPUnit_Framework_MockObject_MockObject */ protected $objectManager = NULL; protected function setUp() { $this->objectManager = $this->getMock('TYPO3\CMS\Extbase\Object\ObjectManagerInterface'); $this->subject = new \OliverKlee\Tea\Domain\Repository\TestimonialRepository($this->objectManager); } /** * @test * @return void */ public function canBeInstantiated() { self::assertNotNull( $this->subject ); } }