Assert
class Assert (View source)
A set of assertion methods.
Methods
Asserts that an array has a specified key.
Asserts that an array has a specified subset.
Asserts that an array does not have a specified key.
Asserts that a haystack contains a needle.
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle.
Asserts that a haystack does not contain a needle.
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.
Asserts that a haystack contains only values of a given type.
Asserts that a haystack contains only instances of a given classname
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.
Asserts that a haystack does not contain only values of a given type.
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.
Asserts the number of elements of an array, Countable or Traversable.
Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
Asserts the number of elements of an array, Countable or Traversable.
Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
Asserts that two variables are equal.
Asserts that a variable is equal to an attribute of an object.
Asserts that two variables are not equal.
Asserts that a variable is not equal to an attribute of an object.
Asserts that a variable is empty.
Asserts that a static attribute of a class or an attribute of an object is empty.
Asserts that a variable is not empty.
Asserts that a static attribute of a class or an attribute of an object is not empty.
Asserts that a value is greater than another value.
Asserts that an attribute is greater than another value.
Asserts that a value is greater than or equal to another value.
Asserts that an attribute is greater than or equal to another value.
Asserts that a value is smaller than another value.
Asserts that an attribute is smaller than another value.
Asserts that a value is smaller than or equal to another value.
Asserts that an attribute is smaller than or equal to another value.
Asserts that the contents of one file is equal to the contents of another file.
Asserts that the contents of one file is not equal to the contents of another file.
Asserts that the contents of a string is equal to the contents of a file.
Asserts that the contents of a string is not equal to the contents of a file.
Asserts that a file/dir is readable.
Asserts that a file/dir exists and is not readable.
Asserts that a file/dir exists and is writable.
Asserts that a file/dir exists and is not writable.
Asserts that a directory exists.
Asserts that a directory does not exist.
Asserts that a directory exists and is readable.
Asserts that a directory exists and is not readable.
Asserts that a directory exists and is writable.
Asserts that a directory exists and is not writable.
Asserts that a file exists.
Asserts that a file does not exist.
Asserts that a file exists and is readable.
Asserts that a file exists and is not readable.
Asserts that a file exists and is writable.
Asserts that a file exists and is not writable.
Asserts that a condition is true.
Asserts that a condition is not true.
Asserts that a condition is false.
Asserts that a condition is not false.
Asserts that a variable is null.
Asserts that a variable is not null.
Asserts that a variable is finite.
Asserts that a variable is infinite.
Asserts that a variable is nan.
Asserts that a class has a specified attribute.
Asserts that a class does not have a specified attribute.
Asserts that a class has a specified static attribute.
Asserts that a class does not have a specified static attribute.
Asserts that an object has a specified attribute.
Asserts that an object does not have a specified attribute.
Asserts that two variables have the same type and value.
Asserts that a variable and an attribute of an object have the same type and value.
Asserts that two variables do not have the same type and value.
Asserts that a variable and an attribute of an object do not have the same type and value.
Asserts that a variable is of a given type.
Asserts that an attribute is of a given type.
Asserts that a variable is not of a given type.
Asserts that an attribute is of a given type.
Asserts that a variable is of a given type.
Asserts that an attribute is of a given type.
Asserts that a variable is not of a given type.
Asserts that an attribute is of a given type.
Asserts that a string matches a given regular expression.
Asserts that a string does not match a given regular expression.
Assert that the size of two arrays (or Countable
or Traversable
objects)
is the same.
Assert that the size of two arrays (or Countable
or Traversable
objects)
is not the same.
Asserts that a string matches a given format string.
Asserts that a string does not match a given format string.
Asserts that a string matches a given format file.
Asserts that a string does not match a given format string.
Asserts that a string starts with a given prefix.
Asserts that a string starts not with a given prefix.
Asserts that a string ends with a given suffix.
Asserts that a string ends not with a given suffix.
Asserts that two XML files are equal.
Asserts that two XML files are not equal.
Asserts that two XML documents are equal.
Asserts that two XML documents are not equal.
Asserts that two XML documents are equal.
Asserts that two XML documents are not equal.
Asserts that a hierarchy of DOMElements matches.
Evaluates a PHPUnit\Framework\Constraint matcher object.
Asserts that a string is a valid JSON string.
Asserts that two given JSON encoded objects or arrays are equal.
Asserts that two given JSON encoded objects or arrays are not equal.
Asserts that the generated JSON encoded object and the content of the given file are equal.
Asserts that the generated JSON encoded object and the content of the given file are not equal.
Asserts that two JSON files are equal.
Asserts that two JSON files are not equal.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Fails a test with the given message.
Returns the value of an attribute of a class or an object.
Returns the value of a static attribute.
Returns the value of an object's attribute.
Mark the test as incomplete.
Mark the test as skipped.
Return the current assertion count.
Reset the assertion counter.
Details
at line 84
static
assertArrayHasKey(mixed $key, array|ArrayAccess $array, string $message = '')
Asserts that an array has a specified key.
at line 113
static
assertArraySubset(array|ArrayAccess $subset, array|ArrayAccess $array, bool $strict = false, string $message = '')
Asserts that an array has a specified subset.
at line 141
static
assertArrayNotHasKey(mixed $key, array|ArrayAccess $array, string $message = '')
Asserts that an array does not have a specified key.
at line 174
static
assertContains(mixed $needle, mixed $haystack, string $message = '', bool $ignoreCase = false, bool $checkForObjectIdentity = true, bool $checkForNonObjectIdentity = false)
Asserts that a haystack contains a needle.
at line 217
static
assertAttributeContains(mixed $needle, string $haystackAttributeName, string|object $haystackClassOrObject, string $message = '', bool $ignoreCase = false, bool $checkForObjectIdentity = true, bool $checkForNonObjectIdentity = false)
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle.
at line 239
static
assertNotContains(mixed $needle, mixed $haystack, string $message = '', bool $ignoreCase = false, bool $checkForObjectIdentity = true, bool $checkForNonObjectIdentity = false)
Asserts that a haystack does not contain a needle.
at line 286
static
assertAttributeNotContains(mixed $needle, string $haystackAttributeName, string|object $haystackClassOrObject, string $message = '', bool $ignoreCase = false, bool $checkForObjectIdentity = true, bool $checkForNonObjectIdentity = false)
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.
at line 306
static
assertContainsOnly(string $type, mixed $haystack, bool $isNativeType = null, string $message = '')
Asserts that a haystack contains only values of a given type.
at line 337
static
assertContainsOnlyInstancesOf(string $classname, array|Traversable $haystack, string $message = '')
Asserts that a haystack contains only instances of a given classname
at line 367
static
assertAttributeContainsOnly(string $type, string $haystackAttributeName, string|object $haystackClassOrObject, bool $isNativeType = null, string $message = '')
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.
at line 385
static
assertNotContainsOnly(string $type, mixed $haystack, bool $isNativeType = null, string $message = '')
Asserts that a haystack does not contain only values of a given type.
at line 422
static
assertAttributeNotContainsOnly(string $type, string $haystackAttributeName, string|object $haystackClassOrObject, bool $isNativeType = null, string $message = '')
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.
at line 439
static
assertCount(int $expectedCount, mixed $haystack, string $message = '')
Asserts the number of elements of an array, Countable or Traversable.
at line 467
static
assertAttributeCount(int $expectedCount, string $haystackAttributeName, string|object $haystackClassOrObject, string $message = '')
Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
at line 483
static
assertNotCount(int $expectedCount, mixed $haystack, string $message = '')
Asserts the number of elements of an array, Countable or Traversable.
at line 511
static
assertAttributeNotCount(int $expectedCount, string $haystackAttributeName, string|object $haystackClassOrObject, string $message = '')
Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
at line 531
static
assertEquals(mixed $expected, mixed $actual, string $message = '', float $delta = 0.0, int $maxDepth = 10, bool $canonicalize = false, bool $ignoreCase = false)
Asserts that two variables are equal.
at line 556
static
assertAttributeEquals(mixed $expected, string $actualAttributeName, string|object $actualClassOrObject, string $message = '', float $delta = 0.0, int $maxDepth = 10, bool $canonicalize = false, bool $ignoreCase = false)
Asserts that a variable is equal to an attribute of an object.
at line 580
static
assertNotEquals(mixed $expected, mixed $actual, string $message = '', float $delta = 0.0, int $maxDepth = 10, bool $canonicalize = false, bool $ignoreCase = false)
Asserts that two variables are not equal.
at line 607
static
assertAttributeNotEquals(mixed $expected, string $actualAttributeName, string|object $actualClassOrObject, string $message = '', float $delta = 0.0, int $maxDepth = 10, bool $canonicalize = false, bool $ignoreCase = false)
Asserts that a variable is not equal to an attribute of an object.
at line 628
static
assertEmpty(mixed $actual, string $message = '')
Asserts that a variable is empty.
at line 641
static
assertAttributeEmpty(string $haystackAttributeName, string|object $haystackClassOrObject, string $message = '')
Asserts that a static attribute of a class or an attribute of an object is empty.
at line 657
static
assertNotEmpty(mixed $actual, string $message = '')
Asserts that a variable is not empty.
at line 670
static
assertAttributeNotEmpty(string $haystackAttributeName, string|object $haystackClassOrObject, string $message = '')
Asserts that a static attribute of a class or an attribute of an object is not empty.
at line 685
static
assertGreaterThan(mixed $expected, mixed $actual, string $message = '')
Asserts that a value is greater than another value.
at line 698
static
assertAttributeGreaterThan(mixed $expected, string $actualAttributeName, string|object $actualClassOrObject, string $message = '')
Asserts that an attribute is greater than another value.
at line 714
static
assertGreaterThanOrEqual(mixed $expected, mixed $actual, string $message = '')
Asserts that a value is greater than or equal to another value.
at line 731
static
assertAttributeGreaterThanOrEqual(mixed $expected, string $actualAttributeName, string|object $actualClassOrObject, string $message = '')
Asserts that an attribute is greater than or equal to another value.
at line 747
static
assertLessThan(mixed $expected, mixed $actual, string $message = '')
Asserts that a value is smaller than another value.
at line 760
static
assertAttributeLessThan(mixed $expected, string $actualAttributeName, string|object $actualClassOrObject, string $message = '')
Asserts that an attribute is smaller than another value.
at line 776
static
assertLessThanOrEqual(mixed $expected, mixed $actual, string $message = '')
Asserts that a value is smaller than or equal to another value.
at line 789
static
assertAttributeLessThanOrEqual(mixed $expected, string $actualAttributeName, string|object $actualClassOrObject, string $message = '')
Asserts that an attribute is smaller than or equal to another value.
at line 808
static
assertFileEquals(string $expected, string $actual, string $message = '', bool $canonicalize = false, bool $ignoreCase = false)
Asserts that the contents of one file is equal to the contents of another file.
at line 834
static
assertFileNotEquals(string $expected, string $actual, string $message = '', bool $canonicalize = false, bool $ignoreCase = false)
Asserts that the contents of one file is not equal to the contents of another file.
at line 860
static
assertStringEqualsFile(string $expectedFile, string $actualString, string $message = '', bool $canonicalize = false, bool $ignoreCase = false)
Asserts that the contents of a string is equal to the contents of a file.
at line 885
static
assertStringNotEqualsFile(string $expectedFile, string $actualString, string $message = '', bool $canonicalize = false, bool $ignoreCase = false)
Asserts that the contents of a string is not equal to the contents of a file.
at line 906
static
assertIsReadable(string $filename, string $message = '')
Asserts that a file/dir is readable.
at line 923
static
assertNotIsReadable(string $filename, string $message = '')
Asserts that a file/dir exists and is not readable.
at line 942
static
assertIsWritable(string $filename, string $message = '')
Asserts that a file/dir exists and is writable.
at line 959
static
assertNotIsWritable(string $filename, string $message = '')
Asserts that a file/dir exists and is not writable.
at line 978
static
assertDirectoryExists(string $directory, string $message = '')
Asserts that a directory exists.
at line 995
static
assertDirectoryNotExists(string $directory, string $message = '')
Asserts that a directory does not exist.
at line 1014
static
assertDirectoryIsReadable(string $directory, string $message = '')
Asserts that a directory exists and is readable.
at line 1026
static
assertDirectoryNotIsReadable(string $directory, string $message = '')
Asserts that a directory exists and is not readable.
at line 1038
static
assertDirectoryIsWritable(string $directory, string $message = '')
Asserts that a directory exists and is writable.
at line 1050
static
assertDirectoryNotIsWritable(string $directory, string $message = '')
Asserts that a directory exists and is not writable.
at line 1062
static
assertFileExists(string $filename, string $message = '')
Asserts that a file exists.
at line 1079
static
assertFileNotExists(string $filename, string $message = '')
Asserts that a file does not exist.
at line 1098
static
assertFileIsReadable(string $file, string $message = '')
Asserts that a file exists and is readable.
at line 1110
static
assertFileNotIsReadable(string $file, string $message = '')
Asserts that a file exists and is not readable.
at line 1122
static
assertFileIsWritable(string $file, string $message = '')
Asserts that a file exists and is writable.
at line 1134
static
assertFileNotIsWritable(string $file, string $message = '')
Asserts that a file exists and is not writable.
at line 1148
static
assertTrue(bool $condition, string $message = '')
Asserts that a condition is true.
at line 1161
static
assertNotTrue(bool $condition, string $message = '')
Asserts that a condition is not true.
at line 1174
static
assertFalse(bool $condition, string $message = '')
Asserts that a condition is false.
at line 1187
static
assertNotFalse(bool $condition, string $message = '')
Asserts that a condition is not false.
at line 1198
static
assertNull(mixed $actual, string $message = '')
Asserts that a variable is null.
at line 1209
static
assertNotNull(mixed $actual, string $message = '')
Asserts that a variable is not null.
at line 1220
static
assertFinite(mixed $actual, string $message = '')
Asserts that a variable is finite.
at line 1231
static
assertInfinite(mixed $actual, string $message = '')
Asserts that a variable is infinite.
at line 1242
static
assertNan(mixed $actual, string $message = '')
Asserts that a variable is nan.
at line 1254
static
assertClassHasAttribute(string $attributeName, string $className, string $message = '')
Asserts that a class has a specified attribute.
at line 1282
static
assertClassNotHasAttribute(string $attributeName, string $className, string $message = '')
Asserts that a class does not have a specified attribute.
at line 1310
static
assertClassHasStaticAttribute(string $attributeName, string $className, string $message = '')
Asserts that a class has a specified static attribute.
at line 1338
static
assertClassNotHasStaticAttribute(string $attributeName, string $className, string $message = '')
Asserts that a class does not have a specified static attribute.
at line 1368
static
assertObjectHasAttribute(string $attributeName, object $object, string $message = '')
Asserts that an object has a specified attribute.
at line 1396
static
assertObjectNotHasAttribute(string $attributeName, object $object, string $message = '')
Asserts that an object does not have a specified attribute.
at line 1426
static
assertSame(mixed $expected, mixed $actual, string $message = '')
Asserts that two variables have the same type and value.
Used on objects, it asserts that two variables reference the same object.
at line 1448
static
assertAttributeSame(mixed $expected, string $actualAttributeName, string|object $actualClassOrObject, string $message = '')
Asserts that a variable and an attribute of an object have the same type and value.
at line 1466
static
assertNotSame(mixed $expected, mixed $actual, string $message = '')
Asserts that two variables do not have the same type and value.
Used on objects, it asserts that two variables do not reference the same object.
at line 1488
static
assertAttributeNotSame(mixed $expected, string $actualAttributeName, string|object $actualClassOrObject, string $message = '')
Asserts that a variable and an attribute of an object do not have the same type and value.
at line 1504
static
assertInstanceOf(string $expected, mixed $actual, string $message = '')
Asserts that a variable is of a given type.
at line 1525
static
assertAttributeInstanceOf(string $expected, string $attributeName, string|object $classOrObject, string $message = '')
Asserts that an attribute is of a given type.
at line 1541
static
assertNotInstanceOf(string $expected, mixed $actual, string $message = '')
Asserts that a variable is not of a given type.
at line 1562
static
assertAttributeNotInstanceOf(string $expected, string $attributeName, string|object $classOrObject, string $message = '')
Asserts that an attribute is of a given type.
at line 1578
static
assertInternalType(string $expected, mixed $actual, string $message = '')
Asserts that a variable is of a given type.
at line 1599
static
assertAttributeInternalType(string $expected, string $attributeName, string|object $classOrObject, string $message = '')
Asserts that an attribute is of a given type.
at line 1615
static
assertNotInternalType(string $expected, mixed $actual, string $message = '')
Asserts that a variable is not of a given type.
at line 1636
static
assertAttributeNotInternalType(string $expected, string $attributeName, string|object $classOrObject, string $message = '')
Asserts that an attribute is of a given type.
at line 1652
static
assertRegExp(string $pattern, string $string, string $message = '')
Asserts that a string matches a given regular expression.
at line 1674
static
assertNotRegExp(string $pattern, string $string, string $message = '')
Asserts that a string does not match a given regular expression.
at line 1699
static
assertSameSize(array|Countable|Traversable $expected, array|Countable|Traversable $actual, string $message = '')
Assert that the size of two arrays (or Countable
or Traversable
objects)
is the same.
at line 1728
static
assertNotSameSize(array|Countable|Traversable $expected, array|Countable|Traversable $actual, string $message = '')
Assert that the size of two arrays (or Countable
or Traversable
objects)
is not the same.
at line 1756
static
assertStringMatchesFormat(string $format, string $string, string $message = '')
Asserts that a string matches a given format string.
at line 1778
static
assertStringNotMatchesFormat(string $format, string $string, string $message = '')
Asserts that a string does not match a given format string.
at line 1802
static
assertStringMatchesFormatFile(string $formatFile, string $string, string $message = '')
Asserts that a string matches a given format file.
at line 1824
static
assertStringNotMatchesFormatFile(string $formatFile, string $string, string $message = '')
Asserts that a string does not match a given format string.
at line 1848
static
assertStringStartsWith(string $prefix, string $string, string $message = '')
Asserts that a string starts with a given prefix.
at line 1872
static
assertStringStartsNotWith(string $prefix, string $string, string $message = '')
Asserts that a string starts not with a given prefix.
at line 1896
static
assertStringEndsWith(string $suffix, string $string, string $message = '')
Asserts that a string ends with a given suffix.
at line 1918
static
assertStringEndsNotWith(string $suffix, string $string, string $message = '')
Asserts that a string ends not with a given suffix.
at line 1942
static
assertXmlFileEqualsXmlFile(string $expectedFile, string $actualFile, string $message = '')
Asserts that two XML files are equal.
at line 1957
static
assertXmlFileNotEqualsXmlFile(string $expectedFile, string $actualFile, string $message = '')
Asserts that two XML files are not equal.
at line 1972
static
assertXmlStringEqualsXmlFile(string $expectedFile, string|DOMDocument $actualXml, string $message = '')
Asserts that two XML documents are equal.
at line 1987
static
assertXmlStringNotEqualsXmlFile(string $expectedFile, string|DOMDocument $actualXml, string $message = '')
Asserts that two XML documents are not equal.
at line 2002
static
assertXmlStringEqualsXmlString(string|DOMDocument $expectedXml, string|DOMDocument $actualXml, string $message = '')
Asserts that two XML documents are equal.
at line 2017
static
assertXmlStringNotEqualsXmlString(string|DOMDocument $expectedXml, string|DOMDocument $actualXml, string $message = '')
Asserts that two XML documents are not equal.
at line 2033
static
assertEqualXMLStructure(DOMElement $expectedElement, DOMElement $actualElement, bool $checkAttributes = false, string $message = '')
Asserts that a hierarchy of DOMElements matches.
at line 2112
static
assertThat(mixed $value, Constraint $constraint, string $message = '')
Evaluates a PHPUnit\Framework\Constraint matcher object.
at line 2125
static
assertJson(string $actualJson, string $message = '')
Asserts that a string is a valid JSON string.
at line 2141
static
assertJsonStringEqualsJsonString(string $expectedJson, string $actualJson, string $message = '')
Asserts that two given JSON encoded objects or arrays are equal.
at line 2160
static
assertJsonStringNotEqualsJsonString(string $expectedJson, string $actualJson, string $message = '')
Asserts that two given JSON encoded objects or arrays are not equal.
at line 2179
static
assertJsonStringEqualsJsonFile(string $expectedFile, string $actualJson, string $message = '')
Asserts that the generated JSON encoded object and the content of the given file are equal.
at line 2201
static
assertJsonStringNotEqualsJsonFile(string $expectedFile, string $actualJson, string $message = '')
Asserts that the generated JSON encoded object and the content of the given file are not equal.
at line 2223
static
assertJsonFileEqualsJsonFile(string $expectedFile, string $actualFile, string $message = '')
Asserts that two JSON files are equal.
at line 2251
static
assertJsonFileNotEqualsJsonFile(string $expectedFile, string $actualFile, string $message = '')
Asserts that two JSON files are not equal.
at line 2275
static LogicalAnd
logicalAnd()
at line 2303
static LogicalNot
logicalNot(Constraint $constraint)
at line 2311
static LogicalXor
logicalXor()
at line 2324
static IsAnything
anything()
at line 2382
static IsInfinite
isInfinite()
at line 2401
static Attribute
attribute(Constraint $constraint, string $attributeName)
at line 2416
static TraversableContains
contains(mixed $value, bool $checkForObjectIdentity = true, bool $checkForNonObjectIdentity = false)
at line 2426
static TraversableContainsOnly
containsOnly(string $type)
at line 2436
static TraversableContainsOnly
containsOnlyInstancesOf(string $classname)
at line 2446
static ArrayHasKey
arrayHasKey(mixed $key)
at line 2460
static IsEqual
equalTo(mixed $value, float $delta = 0.0, int $maxDepth = 10, bool $canonicalize = false, bool $ignoreCase = false)
at line 2481
static Attribute
attributeEqualTo(string $attributeName, mixed $value, float $delta = 0.0, int $maxDepth = 10, bool $canonicalize = false, bool $ignoreCase = false)
at line 2506
static IsWritable
isWritable()
at line 2514
static IsReadable
isReadable()
at line 2522
static DirectoryExists
directoryExists()
at line 2530
static FileExists
fileExists()
at line 2540
static GreaterThan
greaterThan(mixed $value)
at line 2563
static ClassHasAttribute
classHasAttribute(string $attributeName)
at line 2575
static ClassHasStaticAttribute
classHasStaticAttribute(string $attributeName)
at line 2587
static ObjectHasAttribute
objectHasAttribute(string $attributeName)
at line 2599
static IsIdentical
identicalTo(mixed $value)
at line 2609
static IsInstanceOf
isInstanceOf(string $className)
at line 2652
static RegularExpression
matchesRegularExpression(string $pattern)
at line 2662
static StringMatchesFormatDescription
matches(string $string)
at line 2672
static StringStartsWith
stringStartsWith(mixed $prefix)
at line 2683
static StringContains
stringContains(string $string, bool $case = true)
at line 2693
static StringEndsWith
stringEndsWith(mixed $suffix)
at line 2715
static
fail(string $message = '')
Fails a test with the given message.
at line 2733
static mixed
readAttribute(string|object $classOrObject, string $attributeName)
Returns the value of an attribute of a class or an object.
This also works for attributes that are declared protected or private.
at line 2781
static mixed
getStaticAttribute(string $className, string $attributeName)
Returns the value of a static attribute.
This also works for attributes that are declared protected or private.
at line 2830
static mixed
getObjectAttribute(object $object, string $attributeName)
Returns the value of an object's attribute.
This also works for attributes that are declared protected or private.
at line 2885
static
markTestIncomplete(string $message = '')
Mark the test as incomplete.
at line 2897
static
markTestSkipped(string $message = '')
Mark the test as skipped.
at line 2907
static int
getCount()
Return the current assertion count.
at line 2915
static
resetCount()
Reset the assertion counter.