/**
  * Assert Cache is Invalidated and Refreshable.
  *
  * @param AdminCache $adminCache
  * @param array $cacheTags
  * @return void
  */
 public function processAssert(AdminCache $adminCache, $cacheTags)
 {
     $items = [];
     foreach ($cacheTags as $cacheTag) {
         $items[] = ['tags' => $cacheTag, 'status' => 'Invalidated'];
     }
     $adminCache->open();
     $adminCache->getGridBlock()->massaction($items, 'Refresh');
     \PHPUnit_Framework_Assert::assertEquals(sprintf(self::SUCCESS_MESSAGE, count($items)), $adminCache->getMessagesBlock()->getSuccessMessage(), 'Cache is Invalid and refreshable.');
 }