Mocking static template method

145 views
Skip to first unread message

Jim

unread,
Jan 17, 2017, 2:12:17 PM1/17/17
to Google C++ Mocking Framework
Hi,

Could anyone provide guidance on how to mock a template method as below:

static TypeT GetId()
{
 ...

 return <the specific type>;
}

I'm not sure how to mock this.
Thank you for any help.


Reply all
Reply to author
Forward
0 new messages