1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "device/bluetooth/test/mock_bluetooth_gatt_connection.h"
7 using ::testing::Return
;
11 MockBluetoothGattConnection::MockBluetoothGattConnection(
12 const std::string
& device_address
) {
13 ON_CALL(*this, GetDeviceAddress()).WillByDefault(Return(device_address
));
14 ON_CALL(*this, IsConnected()).WillByDefault(Return(true));
17 MockBluetoothGattConnection::~MockBluetoothGattConnection() {}