blob: dc56b705a5bc4cfe49c43e5981e7ee1a372eb985 [file] [log] [blame]
// Copyright 2022 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 MINIOS_TEST_UTILS_H_
#define MINIOS_TEST_UTILS_H_
#include <gmock/gmock.h>
namespace minios {
MATCHER_P(CheckState, expected_state, "Matches the expected state.") {
return arg.state() == expected_state;
}
} // namespace minios
#endif // MINIOS_TEST_UTILS_H_