blob: 7b19d9b1bff4c52ab9d459f063c549a7dec4e027 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_BLUETOOTH_FLOSS_TEST_HELPERS_H_
#define DEVICE_BLUETOOTH_FLOSS_TEST_HELPERS_H_
namespace floss {
// Matches a dbus::MethodCall based on the method name (member).
MATCHER_P(HasMemberOf, member, "") {
return arg->GetMember() == member;
}
} // namespace floss
#endif // DEVICE_BLUETOOTH_FLOSS_TEST_HELPERS_H_