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