src/MarkupAssertionsTrait.php
public function assertNotHasElementWithAttributes($attributes = [], $output = '', $message = '')
    {
        $this->assertNotContainsSelector(
            '*' . $this->flattenAttributeArray($attributes),
            $output,
            $message
        );
    }
public function assertNotHasElementWithAttributes($attributes = [], $output = '', $message = '')
    {
        $this->assertNotContainsSelector(
            '*' . $this->flattenAttributeArray($attributes),
            $output,
            $message
        );
    }
public function assertNotHasElementWithAttributes ( $ attributes = [ ] , $ output = '' , $ message = '' ) { $ this -> assertNotContainsSelector ( '*' . $ this -> flattenAttributeArray ( $ attributes ) , $ output , $ message ) ; }
Assert that an element with the given attributes does not exist in the given markup.

@since 1.0.0

@param array  $attributes An array of HTML attributes that should be found on the element.
@param string $output     The output that should not contain an element with the
provided $attributes.
@param string $message    A message to display if the assertion fails.
Assert that an element with the given attributes does not exist in the given markup .