public function testDefaultCacheInstance() { $Instance1 = NbpRepository::defaultCacheInstance(); $this->assertInstanceOf(NbpRepository::class, $Instance1); $Instance2 = NbpRepository::defaultCacheInstance(); $this->assertSame($Instance1, $Instance2); }
/** * @Given I have the NbpRepository object for table :table */ public function iHaveTheNbpRepositoryObjectForTable($table) { $this->_NbpRepo = NbpRepository::defaultCacheInstance(); }