def METHOD_NAME(self, mockExists, mockGetcwd, mockMakedirs, mockgetServiceOption):
    """
    Test loading the (real) file cache plugin.
    :return:
    :rtype:
    """
    mockExists.return_value = False  # will create a file
    mockGetcwd.return_value = "/tornado/document/root"
    mockgetServiceOption.return_value = "FileCacheLoggingPlugin"
    TornadoPilotLoggingHandler.initializeHandler(
        {"csPaths": "noexistent"}
    )  # should return the default, basic plugin
    mockMakedirs.assert_called_with(os.path.join("/tornado/document/root", "pilotlogs"))
    self.assertEqual(TornadoPilotLoggingHandler.loggingPlugin.__class__.__name__, "FileCacheLoggingPlugin")
    self.assertEqual(2, mockMakedirs.call_count)  # twice: once in the handler, once in the plugin