def METHOD_NAME(self, mock_browser_config, mock_documentation, mock_echo):
    mock_browser = Mock()
    mock_documentation_object = Mock()
    mock_documentation_object.open_docs.side_effect = BrowserConfigurationError
    mock_documentation_object.url = "some-url"
    mock_documentation_object.sub_commands = []
    mock_browser_config.return_value = mock_browser
    mock_documentation.return_value = mock_documentation_object
    command_implementation = CommandImplementation(command="build")
    command_implementation.docs_command = Mock()
    command_implementation.docs_command.sub_commands = []
    command_implementation.run_command()
    mock_echo.assert_called_once_with(ERROR_MESSAGE.format(URL="some-url"), err=True)