blob: de6336bf96ae8c962b02278b13addd6e2014d713 [file] [log] [blame]
// Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "shill/mock_mobile_operator_info.h"
#include <gmock/gmock.h>
namespace shill {
MockMobileOperatorInfo::MockMobileOperatorInfo(EventDispatcher *dispatcher)
: MobileOperatorInfo(dispatcher) {}
MockMobileOperatorInfo::~MockMobileOperatorInfo() {}
void MockMobileOperatorInfo::SetEmptyDefaultsForProperties() {
ON_CALL(*this, mccmnc()).WillByDefault(ReturnRef(empty_mccmnc_));
ON_CALL(*this, olp_list()).WillByDefault(ReturnRef(empty_olp_list_));
ON_CALL(*this, operator_name())
.WillByDefault(ReturnRef(empty_operator_name_));
ON_CALL(*this, country())
.WillByDefault(ReturnRef(empty_country_));
ON_CALL(*this, uuid()).WillByDefault(ReturnRef(empty_uuid_));
}
} // namespace shill