aboutsummaryrefslogtreecommitdiffstats
path: root/test/gmock_link_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/gmock_link_test.h')
-rw-r--r--test/gmock_link_test.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/gmock_link_test.h b/test/gmock_link_test.h
index bbac8ae2..40554bfe 100644
--- a/test/gmock_link_test.h
+++ b/test/gmock_link_test.h
@@ -147,6 +147,7 @@ using testing::IgnoreResult;
using testing::Invoke;
using testing::InvokeArgument;
using testing::InvokeWithoutArgs;
+using testing::IsNull;
using testing::Le;
using testing::Lt;
using testing::Matcher;
@@ -491,6 +492,13 @@ TEST(LinkTest, TestMatcherNotNull) {
ON_CALL(mock, VoidFromString(NotNull())).WillByDefault(Return());
}
+// Tests the linkage of the IsNull matcher.
+TEST(LinkTest, TestMatcherIsNull) {
+ Mock mock;
+
+ ON_CALL(mock, VoidFromString(IsNull())).WillByDefault(Return());
+}
+
// Tests the linkage of the Ref matcher.
TEST(LinkTest, TestMatcherRef) {
Mock mock;