def METHOD_NAME(self):
    new_rows = [
        RowDefinition("new_cmd", "A new command.", extra_row_modifiers=[HighlightNewRowNameModifier()]),
    ]
    new_command = f"new_cmd {HighlightNewRowNameModifier.NEW_TEXT}".ljust(self.formatter.left_justification_length)
    expected_output_with_new = [
        call(f"\x1b[93m\x1b[1m{new_command}\x1b[0m"),
        call(" " * self.formatter.indent_increment),
        call("A new command.\n"),
    ]
    # Test with new rows
    with patch.object(self.formatter, "write") as mock_write:
        self.formatter.write_rd(new_rows)
        self.assertEqual(mock_write.call_args_list, expected_output_with_new)