diff --git a/src/Codeception/Util/Shared/InheritedAsserts.php b/src/Codeception/Util/Shared/InheritedAsserts.php index 5048840..92ca18b 100644 --- a/src/Codeception/Util/Shared/InheritedAsserts.php +++ b/src/Codeception/Util/Shared/InheritedAsserts.php @@ -91,6 +91,14 @@ protected function assertContainsEquals(mixed $needle, iterable $haystack, strin Assert::assertContainsEquals($needle, $haystack, $message); } + /** + * @param iterable $haystack + */ + protected function assertNotContainsEquals(mixed $needle, iterable $haystack, string $message = ''): void + { + Assert::assertNotContainsEquals($needle, $haystack, $message); + } + /** * Asserts that a haystack contains only values of a given type. * @param 'array'|'bool'|'boolean'|'callable'|'double'|'float'|'int'|'integer'|'iterable'|'null'|'numeric'|'object'|'real'|'resource'|'resource (closed)'|'scalar'|'string' $type