public static function false($value, $message = '')
{
if (false !== $value) {
static::reportInvalidArgument(sprintf($message ?: 'Expected a value to be false. Got: %s', static::valueToString($value)));
}
}
/** * {@inheritdoc} */ public function chooseDifferentBillingAddress() { $driver = $this->getDriver(); if ($driver instanceof Selenium2Driver) { $this->getElement('different_billing_address_label')->click(); return; } $billingAddressSwitch = $this->getElement('different_billing_address'); Assert::false($billingAddressSwitch->isChecked(), 'Previous state of different billing address switch was true expected to be false'); $billingAddressSwitch->check(); }