You are here

class WebAssertArgumentsTest in Drupal 10

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Assert/WebAssertArgumentsTest.php \Drupal\Tests\Core\Assert\WebAssertArgumentsTest

Tests that calling WebAssert methods with extra arguments leads to errors.

@coversDefaultClass \Drupal\Tests\WebAssert @group Assert

Hierarchy

Expanded class hierarchy of WebAssertArgumentsTest

File

core/tests/Drupal/Tests/Core/Assert/WebAssertArgumentsTest.php, line 19

Namespace

Drupal\Tests\Core\Assert
View source
class WebAssertArgumentsTest extends UnitTestCase {

  /**
   * The mocked Mink session object used for testing.
   *
   * @var \Behat\Mink\Session|\Prophecy\Prophecy\ObjectProphecy
   */
  protected $session;

  /**
   * The mocked page element used for testing.
   *
   * @var Behat\Mink\Element\DocumentElement|\Prophecy\Prophecy\ObjectProphecy
   */
  protected $page;

  /**
   * The mocked web assert class.
   *
   * @var \Drupal\Tests\WebAssert
   */
  protected $webAssert;

  /**
   * {@inheritdoc}
   */
  protected function setUp() : void {
    parent::setUp();
    $this->page = $this
      ->prophesize(DocumentElement::class);
    $this->session = $this
      ->prophesize(Session::class);
    $this->session
      ->getPage()
      ->willReturn($this->page
      ->reveal());
    $this->webAssert = new WebAssert($this
      ->getSession());
  }

  /**
   * @covers ::buttonExists
   */
  public function testButtonExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->findButton(Argument::any())
      ->willReturn('bar');
    $this->webAssert
      ->buttonExists('foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::buttonNotExists
   */
  public function testButtonNotExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->findButton(Argument::any())
      ->willReturn(NULL);
    $this->webAssert
      ->buttonNotExists('qux', NULL, 'Extra argument');
  }

  /**
   * @covers ::selectExists
   */
  public function testSelectExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn('bar');
    $this->webAssert
      ->selectExists('foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::optionExists
   */
  public function testOptionExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $select = $this
      ->prophesize(Element::class);
    $select
      ->find(Argument::any(), Argument::any())
      ->willReturn('bar');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($select
      ->reveal());
    $this->webAssert
      ->optionExists('foo', 'bar', NULL, 'Extra argument');
  }

  /**
   * @covers ::optionNotExists
   */
  public function testOptionNotExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $select = $this
      ->prophesize(Element::class);
    $select
      ->find(Argument::any(), Argument::any())
      ->willReturn(NULL);
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($select
      ->reveal());
    $this->webAssert
      ->optionNotExists('foo', 'qux', NULL, 'Extra argument');
  }

  /**
   * @covers ::titleEquals
   */
  public function testTitleEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $title = $this
      ->prophesize(Element::class);
    $title
      ->getText()
      ->willReturn('foo');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($title
      ->reveal());
    $this->webAssert
      ->titleEquals('foo', 'Extra argument');
  }

  /**
   * @covers ::assertNoEscaped
   */
  public function testAssertNoEscaped() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getContent()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->assertNoEscaped('qux', 'Extra argument');
  }

  /**
   * @covers ::assertEscaped
   */
  public function testAssertEscaped() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getContent()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->assertEscaped('foo', 'Extra argument');
  }

  /**
   * @covers ::responseContains
   */
  public function testResponseContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getContent()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->responseContains('foo', 'Extra argument');
  }

  /**
   * @covers ::responseNotContains
   */
  public function testResponseNotContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getContent()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->responseNotContains('qux', 'Extra argument');
  }

  /**
   * @covers ::fieldDisabled
   */
  public function testFieldDisabled() : void {
    $this
      ->expectError(\AssertionError::class);
    $field = $this
      ->prophesize(NodeElement::class);
    $field
      ->hasAttribute('disabled')
      ->willReturn(TRUE);
    $this->page
      ->findField(Argument::any())
      ->willReturn($field
      ->reveal());
    $this->webAssert
      ->fieldDisabled('foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::fieldEnabled
   */
  public function testFieldEnabled() : void {
    $this
      ->expectError(\AssertionError::class);
    $field = $this
      ->prophesize(NodeElement::class);
    $field
      ->hasAttribute('disabled')
      ->willReturn(FALSE);
    $this->page
      ->findField(Argument::any())
      ->willReturn($field
      ->reveal());
    $this->webAssert
      ->fieldEnabled('foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::hiddenFieldExists
   */
  public function testHiddenFieldExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn('bar');
    $this->webAssert
      ->hiddenFieldExists('foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::hiddenFieldNotExists
   */
  public function testHiddenFieldNotExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn(NULL);
    $this->webAssert
      ->hiddenFieldNotExists('qux', NULL, 'Extra argument');
  }

  /**
   * @covers ::hiddenFieldValueEquals
   */
  public function testHiddenFieldValueEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $field = $this
      ->prophesize(NodeElement::class);
    $field
      ->getValue()
      ->willReturn('bar');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($field
      ->reveal());
    $this->webAssert
      ->hiddenFieldValueEquals('foo', 'bar', NULL, 'Extra argument');
  }

  /**
   * @covers ::hiddenFieldValueNotEquals
   */
  public function testHiddenFieldValueNotEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $field = $this
      ->prophesize(NodeElement::class);
    $field
      ->getValue()
      ->willReturn('bar');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($field
      ->reveal());
    $this->webAssert
      ->hiddenFieldValueNotEquals('foo', 'qux', NULL, 'Extra argument');
  }

  /**
   * @covers ::pageTextContainsOnce
   */
  public function testPageTextContainsOnce() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getText()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->pageTextContainsOnce('foo', 'Extra argument');
  }

  /**
   * @covers ::addressEquals
   */
  public function testAddressEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getCurrentUrl()
      ->willReturn('foo');
    $this->webAssert
      ->addressEquals('foo', 'Extra argument');
  }

  /**
   * @covers ::addressNotEquals
   */
  public function testAddressNotEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getCurrentUrl()
      ->willReturn('foo');
    $this->webAssert
      ->addressNotEquals('qux', 'Extra argument');
  }

  /**
   * @covers ::addressMatches
   */
  public function testAddressMatches() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getCurrentUrl()
      ->willReturn('foo');
    $this->webAssert
      ->addressMatches('/foo/', 'Extra argument');
  }

  /**
   * @covers ::cookieEquals
   */
  public function testCookieEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getCookie('foo')
      ->willReturn('bar');
    $this->webAssert
      ->cookieEquals('foo', 'bar', 'Extra argument');
  }

  /**
   * @covers ::cookieExists
   */
  public function testCookieExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getCookie('foo')
      ->willReturn('bar');
    $this->webAssert
      ->cookieExists('foo', 'Extra argument');
  }

  /**
   * @covers ::statusCodeEquals
   */
  public function testStatusCodeEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getStatusCode()
      ->willReturn(200);
    $this->webAssert
      ->statusCodeEquals(200, 'Extra argument');
  }

  /**
   * @covers ::statusCodeNotEquals
   */
  public function testStatusCodeNotEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getStatusCode()
      ->willReturn(200);
    $this->webAssert
      ->statusCodeNotEquals(403, 'Extra argument');
  }

  /**
   * @covers ::responseHeaderEquals
   */
  public function testResponseHeaderEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getResponseHeader('foo')
      ->willReturn('bar');
    $this->webAssert
      ->responseHeaderEquals('foo', 'bar', 'Extra argument');
  }

  /**
   * @covers ::responseHeaderNotEquals
   */
  public function testResponseHeaderNotEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getResponseHeader('foo')
      ->willReturn('bar');
    $this->webAssert
      ->responseHeaderNotEquals('foo', 'qux', 'Extra argument');
  }

  /**
   * @covers ::responseHeaderContains
   */
  public function testResponseHeaderContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getResponseHeader('foo')
      ->willReturn('bar');
    $this->webAssert
      ->responseHeaderContains('foo', 'ar', 'Extra argument');
  }

  /**
   * @covers ::responseHeaderNotContains
   */
  public function testResponseHeaderNotContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getResponseHeader('foo')
      ->willReturn('bar');
    $this->webAssert
      ->responseHeaderNotContains('foo', 'qu', 'Extra argument');
  }

  /**
   * @covers ::responseHeaderMatches
   */
  public function testResponseHeaderMatches() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getResponseHeader('foo')
      ->willReturn('bar');
    $this->webAssert
      ->responseHeaderMatches('foo', '/bar/', 'Extra argument');
  }

  /**
   * @covers ::responseHeaderNotMatches
   */
  public function testResponseHeaderNotMatches() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->session
      ->getResponseHeader('foo')
      ->willReturn('bar');
    $this->webAssert
      ->responseHeaderNotMatches('foo', '/qux/', 'Extra argument');
  }

  /**
   * @covers ::pageTextContains
   */
  public function testPageTextContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getText()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->pageTextContains('foo', 'Extra argument');
  }

  /**
   * @covers ::pageTextNotContains
   */
  public function testPageTextNotContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getText()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->pageTextNotContains('qux', 'Extra argument');
  }

  /**
   * @covers ::pageTextMatches
   */
  public function testPageTextMatches() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getText()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->pageTextMatches('/foo/', 'Extra argument');
  }

  /**
   * @covers ::pageTextNotMatches
   */
  public function testPageTextNotMatches() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getText()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->pageTextNotMatches('/qux/', 'Extra argument');
  }

  /**
   * @covers ::responseMatches
   */
  public function testResponseMatches() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getContent()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->responseMatches('/foo/', 'Extra argument');
  }

  /**
   * @covers ::responseNotMatches
   */
  public function testResponseNotMatches() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->getContent()
      ->willReturn('foo bar bar');
    $this->webAssert
      ->responseNotMatches('/qux/', 'Extra argument');
  }

  /**
   * @covers ::elementsCount
   */
  public function testElementsCount() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->findAll(Argument::any(), Argument::any())
      ->willReturn([
      'bar',
    ]);
    $this->webAssert
      ->elementsCount('xpath', '//foo', 1, NULL, 'Extra argument');
  }

  /**
   * @covers ::elementExists
   */
  public function testElementExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn('bar');
    $this->webAssert
      ->elementExists('xpath', '//foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::elementNotExists
   */
  public function testElementNotExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn(NULL);
    $this->webAssert
      ->elementNotExists('xpath', '//foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::elementTextContains
   */
  public function testElementTextContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $element = $this
      ->prophesize(NodeElement::class);
    $element
      ->getText()
      ->willReturn('bar');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($element
      ->reveal());
    $this->webAssert
      ->elementTextContains('xpath', '//foo', 'bar', 'Extra argument');
  }

  /**
   * @covers ::elementTextNotContains
   */
  public function testElementTextNotContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $element = $this
      ->prophesize(NodeElement::class);
    $element
      ->getText()
      ->willReturn('bar');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($element
      ->reveal());
    $this->webAssert
      ->elementTextNotContains('xpath', '//foo', 'qux', 'Extra argument');
  }

  /**
   * @covers ::elementContains
   */
  public function testElementContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $element = $this
      ->prophesize(NodeElement::class);
    $element
      ->getHtml()
      ->willReturn('bar');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($element
      ->reveal());
    $this->webAssert
      ->elementContains('xpath', '//foo', 'bar', 'Extra argument');
  }

  /**
   * @covers ::elementNotContains
   */
  public function testElementNotContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $element = $this
      ->prophesize(NodeElement::class);
    $element
      ->getHtml()
      ->willReturn('bar');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($element
      ->reveal());
    $this->webAssert
      ->elementNotContains('xpath', '//foo', 'qux', 'Extra argument');
  }

  /**
   * @covers ::elementAttributeExists
   */
  public function testElementAttributeExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $element = $this
      ->prophesize(NodeElement::class);
    $element
      ->hasAttribute('bar')
      ->willReturn(TRUE);
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($element
      ->reveal());
    $this->webAssert
      ->elementAttributeExists('xpath', '//foo', 'bar', 'Extra argument');
  }

  /**
   * @covers ::elementAttributeContains
   */
  public function testElementAttributeContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $element = $this
      ->prophesize(NodeElement::class);
    $element
      ->hasAttribute('bar')
      ->willReturn(TRUE);
    $element
      ->getAttribute('bar')
      ->willReturn('baz');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($element
      ->reveal());
    $this->webAssert
      ->elementAttributeContains('xpath', '//foo', 'bar', 'baz', 'Extra argument');
  }

  /**
   * @covers ::elementAttributeNotContains
   */
  public function testElementAttributeNotContains() : void {
    $this
      ->expectError(\AssertionError::class);
    $element = $this
      ->prophesize(NodeElement::class);
    $element
      ->hasAttribute('bar')
      ->willReturn(TRUE);
    $element
      ->getAttribute('bar')
      ->willReturn('baz');
    $this->page
      ->find(Argument::any(), Argument::any())
      ->willReturn($element
      ->reveal());
    $this->webAssert
      ->elementAttributeNotContains('xpath', '//foo', 'bar', 'qux', 'Extra argument');
  }

  /**
   * @covers ::fieldExists
   */
  public function testFieldExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->findField(Argument::any())
      ->willReturn('bar');
    $this->webAssert
      ->fieldExists('foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::fieldNotExists
   */
  public function testFieldNotExists() : void {
    $this
      ->expectError(\AssertionError::class);
    $this->page
      ->findField(Argument::any())
      ->willReturn();
    $this->webAssert
      ->fieldNotExists('qux', NULL, 'Extra argument');
  }

  /**
   * @covers ::fieldValueEquals
   */
  public function testFieldValueEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $field = $this
      ->prophesize(NodeElement::class);
    $field
      ->getValue()
      ->willReturn('bar');
    $this->page
      ->findField(Argument::any())
      ->willReturn($field
      ->reveal());
    $this->webAssert
      ->fieldValueEquals('foo', 'bar', NULL, 'Extra argument');
  }

  /**
   * @covers ::fieldValueNotEquals
   */
  public function testFieldValueNotEquals() : void {
    $this
      ->expectError(\AssertionError::class);
    $field = $this
      ->prophesize(NodeElement::class);
    $field
      ->getValue()
      ->willReturn('bar');
    $this->page
      ->findField(Argument::any())
      ->willReturn($field
      ->reveal());
    $this->webAssert
      ->fieldValueNotEquals('foo', 'qux', NULL, 'Extra argument');
  }

  /**
   * @covers ::checkboxChecked
   */
  public function testCheckboxChecked() : void {
    $this
      ->expectError(\AssertionError::class);
    $field = $this
      ->prophesize(NodeElement::class);
    $field
      ->isChecked()
      ->willReturn(TRUE);
    $this->page
      ->findField(Argument::any())
      ->willReturn($field
      ->reveal());
    $this->webAssert
      ->checkboxChecked('foo', NULL, 'Extra argument');
  }

  /**
   * @covers ::checkboxNotChecked
   */
  public function testCheckboxNotChecked() : void {
    $this
      ->expectError(\AssertionError::class);
    $field = $this
      ->prophesize(NodeElement::class);
    $field
      ->isChecked()
      ->willReturn(FALSE);
    $this->page
      ->findField(Argument::any())
      ->willReturn($field
      ->reveal());
    $this->webAssert
      ->checkboxNotChecked('qux', NULL, 'Extra argument');
  }

  /**
   * Returns a mocked behat session object.
   *
   * @return \Behat\Mink\Session
   *   The mocked session.
   */
  protected function getSession() : Session {
    return $this->session
      ->reveal();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PhpUnitWarnings::$deprecationWarnings private static property Deprecation warnings from PHPUnit to raise with @trigger_error().
PhpUnitWarnings::addWarning public function Converts PHPUnit deprecation warnings to E_USER_DEPRECATED.
UnitTestCase::$randomGenerator protected property The random generator.
UnitTestCase::$root protected property The app root. 1
UnitTestCase::getClassResolverStub protected function Returns a stub class resolver.
UnitTestCase::getConfigFactoryStub public function Returns a stub config factory that behaves according to the passed array.
UnitTestCase::getConfigStorageStub public function Returns a stub config storage that returns the supplied configuration.
UnitTestCase::getContainerWithCacheTagsInvalidator protected function Sets up a container with a cache tags invalidator.
UnitTestCase::getRandomGenerator protected function Gets the random generator for the utility methods.
UnitTestCase::getStringTranslationStub public function Returns a stub translation manager that just returns the passed string.
UnitTestCase::randomMachineName public function Generates a unique random string containing letters and numbers.
UnitTestCase::setUpBeforeClass public static function
WebAssertArgumentsTest::$page protected property The mocked page element used for testing.
WebAssertArgumentsTest::$session protected property The mocked Mink session object used for testing.
WebAssertArgumentsTest::$webAssert protected property The mocked web assert class.
WebAssertArgumentsTest::getSession protected function Returns a mocked behat session object.
WebAssertArgumentsTest::setUp protected function Overrides UnitTestCase::setUp
WebAssertArgumentsTest::testAddressEquals public function @covers ::addressEquals
WebAssertArgumentsTest::testAddressMatches public function @covers ::addressMatches
WebAssertArgumentsTest::testAddressNotEquals public function @covers ::addressNotEquals
WebAssertArgumentsTest::testAssertEscaped public function @covers ::assertEscaped
WebAssertArgumentsTest::testAssertNoEscaped public function @covers ::assertNoEscaped
WebAssertArgumentsTest::testButtonExists public function @covers ::buttonExists
WebAssertArgumentsTest::testButtonNotExists public function @covers ::buttonNotExists
WebAssertArgumentsTest::testCheckboxChecked public function @covers ::checkboxChecked
WebAssertArgumentsTest::testCheckboxNotChecked public function @covers ::checkboxNotChecked
WebAssertArgumentsTest::testCookieEquals public function @covers ::cookieEquals
WebAssertArgumentsTest::testCookieExists public function @covers ::cookieExists
WebAssertArgumentsTest::testElementAttributeContains public function @covers ::elementAttributeContains
WebAssertArgumentsTest::testElementAttributeExists public function @covers ::elementAttributeExists
WebAssertArgumentsTest::testElementAttributeNotContains public function @covers ::elementAttributeNotContains
WebAssertArgumentsTest::testElementContains public function @covers ::elementContains
WebAssertArgumentsTest::testElementExists public function @covers ::elementExists
WebAssertArgumentsTest::testElementNotContains public function @covers ::elementNotContains
WebAssertArgumentsTest::testElementNotExists public function @covers ::elementNotExists
WebAssertArgumentsTest::testElementsCount public function @covers ::elementsCount
WebAssertArgumentsTest::testElementTextContains public function @covers ::elementTextContains
WebAssertArgumentsTest::testElementTextNotContains public function @covers ::elementTextNotContains
WebAssertArgumentsTest::testFieldDisabled public function @covers ::fieldDisabled
WebAssertArgumentsTest::testFieldEnabled public function @covers ::fieldEnabled
WebAssertArgumentsTest::testFieldExists public function @covers ::fieldExists
WebAssertArgumentsTest::testFieldNotExists public function @covers ::fieldNotExists
WebAssertArgumentsTest::testFieldValueEquals public function @covers ::fieldValueEquals
WebAssertArgumentsTest::testFieldValueNotEquals public function @covers ::fieldValueNotEquals
WebAssertArgumentsTest::testHiddenFieldExists public function @covers ::hiddenFieldExists
WebAssertArgumentsTest::testHiddenFieldNotExists public function @covers ::hiddenFieldNotExists
WebAssertArgumentsTest::testHiddenFieldValueEquals public function @covers ::hiddenFieldValueEquals
WebAssertArgumentsTest::testHiddenFieldValueNotEquals public function @covers ::hiddenFieldValueNotEquals
WebAssertArgumentsTest::testOptionExists public function @covers ::optionExists
WebAssertArgumentsTest::testOptionNotExists public function @covers ::optionNotExists
WebAssertArgumentsTest::testPageTextContains public function @covers ::pageTextContains
WebAssertArgumentsTest::testPageTextContainsOnce public function @covers ::pageTextContainsOnce
WebAssertArgumentsTest::testPageTextMatches public function @covers ::pageTextMatches
WebAssertArgumentsTest::testPageTextNotContains public function @covers ::pageTextNotContains
WebAssertArgumentsTest::testPageTextNotMatches public function @covers ::pageTextNotMatches
WebAssertArgumentsTest::testResponseContains public function @covers ::responseContains
WebAssertArgumentsTest::testResponseHeaderContains public function @covers ::responseHeaderContains
WebAssertArgumentsTest::testResponseHeaderEquals public function @covers ::responseHeaderEquals
WebAssertArgumentsTest::testResponseHeaderMatches public function @covers ::responseHeaderMatches
WebAssertArgumentsTest::testResponseHeaderNotContains public function @covers ::responseHeaderNotContains
WebAssertArgumentsTest::testResponseHeaderNotEquals public function @covers ::responseHeaderNotEquals
WebAssertArgumentsTest::testResponseHeaderNotMatches public function @covers ::responseHeaderNotMatches
WebAssertArgumentsTest::testResponseMatches public function @covers ::responseMatches
WebAssertArgumentsTest::testResponseNotContains public function @covers ::responseNotContains
WebAssertArgumentsTest::testResponseNotMatches public function @covers ::responseNotMatches
WebAssertArgumentsTest::testSelectExists public function @covers ::selectExists
WebAssertArgumentsTest::testStatusCodeEquals public function @covers ::statusCodeEquals
WebAssertArgumentsTest::testStatusCodeNotEquals public function @covers ::statusCodeNotEquals
WebAssertArgumentsTest::testTitleEquals public function @covers ::titleEquals