/**
  * Assert that customer group is not on catalog price rule page.
  *
  * @param CatalogRuleNew $catalogRuleNew
  * @param CustomerGroup $customerGroup
  * @return void
  */
 public function processAssert(CatalogRuleNew $catalogRuleNew, CustomerGroup $customerGroup)
 {
     $catalogRuleNew->open();
     $catalogRuleNew->getEditForm()->openSection('rule_information');
     /** @var RuleInformation $ruleInformationSection */
     $ruleInformationSection = $catalogRuleNew->getEditForm()->getSection('rule_information');
     \PHPUnit_Framework_Assert::assertFalse($ruleInformationSection->isVisibleCustomerGroup($customerGroup), "Customer group {$customerGroup->getCustomerGroupCode()} is still in catalog price rule page.");
 }