blob: 5b8c4858aee92ff8ff7cf9631540edcd7bbaed75 [file] [log] [blame]
// Copyright 2015 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.
#ifndef ATTESTATION_COMMON_MOCK_ATTESTATION_INTERFACE_H_
#define ATTESTATION_COMMON_MOCK_ATTESTATION_INTERFACE_H_
#include <string>
#include <gmock/gmock.h>
#include "attestation/common/attestation_interface.h"
namespace attestation {
class MockAttestationInterface : public AttestationInterface {
public:
MockAttestationInterface() = default;
virtual ~MockAttestationInterface() = default;
MOCK_METHOD0(Initialize, bool());
MOCK_METHOD7(CreateGoogleAttestedKey, void(
const std::string&,
KeyType,
KeyUsage,
CertificateProfile,
const std::string&,
const std::string&,
const CreateGoogleAttestedKeyCallback&));
};
} // namespace attestation
#endif // ATTESTATION_COMMON_MOCK_ATTESTATION_INTERFACE_H_