def METHOD_NAME(self):
    prog = "sam"
    args = "validate"
    prefix = "usage: "
    expected_output = [
        call(f"usage: \x1b[1m{prog}\x1b[0m {args}"),
        call("\n"),
    ]
    with patch.object(self.formatter, "write") as mock_write:
        self.formatter.write_usage(prog, args, prefix)
        self.assertEqual(mock_write.call_args_list, expected_output)