Exemplo n.º 1
0
 public function testShouldNotCacheAnnotations()
 {
     $mongo = Di::getDefault()->get('mongo');
     $mongo->cache->remove();
     $product = new Product();
     $product->getMetadata();
     $this->assertEquals(0, $mongo->cache->find()->count());
 }