Add one of the following to your deps:
deps
"//testing/base/public:gunit", "//testing/base/public:gtest_main",
Add this to your .cc file:
.cc
#include "gmock/gmock.h"
Unless noted, all functions and classes are defined in the ::testing namespace.
::testing