Asserts that a string is not found in the rendered node in a view mode.
EntityInterface $node: The node.
$view_mode: The view mode in which the node should be displayed.
$text: Plain text to look for.
$message: Message to display.
TRUE on pass, FALSE on fail.
function assertNodeViewNoText(EntityInterface $node, $view_mode, $text, $message) {
return $this
->assertNodeViewTextHelper($node, $view_mode, $text, $message, TRUE);
}