Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RatingTest.php
Go to the documentation of this file.
1 <?php
7 
11 
12 class RatingTest extends \PHPUnit\Framework\TestCase
13 {
17  private $rating;
18 
22  protected function setUp()
23  {
24  $helper = new ObjectManager($this);
25  $this->rating = $helper->getObject(Rating::class);
26  }
27 
32  public function testGetIdentities()
33  {
34  static::assertEquals([Review::CACHE_TAG], $this->rating->getIdentities());
35  }
36 }
$helper
Definition: iframe.phtml:13