diff --git a/googlemock/docs/gmock_faq.md b/googlemock/docs/gmock_faq.md index 214aabf1..7f8c647a 100644 --- a/googlemock/docs/gmock_faq.md +++ b/googlemock/docs/gmock_faq.md @@ -5,7 +5,7 @@ ### When I call a method on my mock object, the method for the real object is invoked instead. What's the problem? In order for a method to be mocked, it must be *virtual*, unless you use the -[high-perf dependency injection technique](#MockingNonVirtualMethods). +[high-perf dependency injection technique](cook_book.md#MockingNonVirtualMethods). ### Can I mock a variadic function?