blob: 392ebaf4c55bd5899d8d3fe25639c92a963cc93c [file] [log] [blame]
// Copyright 2012 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CRYPTOHOME_MOCK_LOCKBOX_H_
#define CRYPTOHOME_MOCK_LOCKBOX_H_
#include "cryptohome/lockbox.h"
#include <brillo/secure_blob.h>
#include <gmock/gmock.h>
namespace cryptohome {
class MockLockbox : public Lockbox {
public:
MockLockbox();
virtual ~MockLockbox();
MOCK_METHOD(bool, Reset, (LockboxError*), (override));
MOCK_METHOD(bool, Store, (const brillo::Blob&, LockboxError*), (override));
};
} // namespace cryptohome
#endif // CRYPTOHOME_MOCK_LOCKBOX_H_