/**
  * Assert that product is not present in Wishlist on frontend.
  *
  * @param WishlistIndex $wishlistIndex
  * @param CmsIndex $cmsIndex
  * @param Customer $customer
  * @param FrontendActionsForCustomer $frontendActionsForCustomer
  * @param InjectableFixture[] $products
  * @return void
  */
 public function processAssert(WishlistIndex $wishlistIndex, CmsIndex $cmsIndex, Customer $customer, FrontendActionsForCustomer $frontendActionsForCustomer, array $products)
 {
     $frontendActionsForCustomer->loginCustomer($customer);
     $cmsIndex->getTopLinksBlock()->openAccountLink("My Wishlist");
     $itemBlock = $wishlistIndex->getItemsBlock();
     foreach ($products as $itemProduct) {
         \PHPUnit_Framework_Assert::assertFalse($itemBlock->getItemProductBlock($itemProduct)->isVisible(), "Product '{$itemProduct->getName()}' is present in Wishlist on frontend.");
     }
 }
 /**
  * Assert that customer balance amount is changed on frontend.
  *
  * @param Customer $customer
  * @param StoreCreditInfo $storeCreditInfo
  * @param array|null $verifyData
  * @return void
  */
 public function processAssert(Customer $customer, StoreCreditInfo $storeCreditInfo, array $verifyData)
 {
     $frontendActions = new FrontendActionsForCustomer();
     $frontendActions->loginCustomer($customer);
     $frontendActions->openCustomerTab('Store Credit');
     $fixtureData = $this->prepareStoreCreditData($verifyData);
     $formData = $storeCreditInfo->getBalanceHistoryGrid()->getFieldsData();
     $error = $this->verifyData($fixtureData, $formData);
     \PHPUnit_Framework_Assert::assertEmpty($error, $error);
 }