def METHOD_NAME(capsys, mock_tools):
    """If the Xcode license has been accepted, pass without comment."""
    # Check passes without an error...
    XcodeCliTools.confirm_xcode_license_accepted(mock_tools)
    # ... clang was invoked ...
    mock_tools.subprocess.check_output.assert_called_once_with(
        ["/usr/bin/clang", "--version"]
    )
    # ... and the user is none the wiser
    out = capsys.readouterr().out
    assert len(out) == 0