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. 4 5 #include "chrome/browser/ui/autofill/mock_address_validator.h" 6 7 namespace autofill { 8 9 MockAddressValidator::MockAddressValidator() { 10 using testing::_; 11 using testing::Return; 12 ON_CALL(*this, ValidateAddress(_, _, _)).WillByDefault(Return(SUCCESS)); 13 ON_CALL(*this, GetSuggestions(_, _, _, _)).WillByDefault(Return(SUCCESS)); 14 ON_CALL(*this, CanonicalizeAdministrativeArea(_)).WillByDefault(Return(true)); 15 } 16 17 MockAddressValidator::~MockAddressValidator() {} 18 19 } // namespace autofill 20