#include "device/bluetooth/floss/exported_callback_manager.h"
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/test/task_environment.h"
#include "dbus/bus.h"
#include "dbus/message.h"
#include "dbus/mock_bus.h"
#include "dbus/mock_exported_object.h"
#include "dbus/mock_object_proxy.h"
#include "dbus/object_path.h"
#include "device/bluetooth/floss/floss_dbus_client.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace floss {
namespace {
DoAll;
const char kExportedCallbackPath[] = …;
const char kTestSender[] = …;
const int kTestSerial = …;
void FakeExportMethod(
const std::string& interface_name,
const std::string& method_name,
const dbus::ExportedObject::MethodCallCallback& method_call_callback,
dbus::ExportedObject::OnExportedCallback on_exported_callback) { … }
class ISomeCallback { … };
class SomeCallback : public ISomeCallback { … };
}
class ExportedCallbackManagerTest : public testing::Test { … };
TEST_F(ExportedCallbackManagerTest, TestMethodHandler) { … }
}