private function SerialTestCase::assertSerialField in Serial Field 7
Assert number with value of the serial field on the page.
Parameters
int $number: The number for verification.
1 call to SerialTestCase::assertSerialField()
- SerialTestCase::testSerial in tests/
serial.test - Create N nodes and attach N comments for the last.
File
- tests/
serial.test, line 96 - Test Serial functionality.
Class
- SerialTestCase
- Class SerialTestCase.
Code
private function assertSerialField($number) {
$this
->assertFieldByXPath($this
->constructFieldXpath('name', self::fieldName('serial')), $number);
}