*/ class TeaBeverageRepositoryTest extends \Nimut\TestingFramework\TestCase\UnitTestCase { /** * @var bool */ protected $backupGlobals = false; /** * @var TeaBeverageRepository */ protected $subject; /** * @var ObjectManagerInterface|ProphecySubjectInterface */ protected $objectManager = null; protected function setUp() { $objectManagerProphecy = $this->prophesize(ObjectManagerInterface::class); $this->objectManager = $objectManagerProphecy->reveal(); $this->subject = new TeaBeverageRepository($this->objectManager); } /** * @test */ public function isRepository() { self::assertInstanceOf(Repository::class, $this->subject); } }