Open kiddy818 opened 4 years ago
if I have a mock like this: EMOCK(&CLASS_NAME_A::FUNCTION_NAME_A).expects(once()).id("1");
how can i ref to it from another EMOCK? EMOCK(&CLASS_NAME_B::FUNCTION_NAME_B).expects(once()).after(???, "1").will(ignoreReturnValue());
what should i fill for ???
try to use:
EMOCK(&CLASS_NAME_B::FUNCTION_NAME_B) .expects(once()) .after("1") .will(ignoreReturnValue());
if I have a mock like this: EMOCK(&CLASS_NAME_A::FUNCTION_NAME_A).expects(once()).id("1");
how can i ref to it from another EMOCK? EMOCK(&CLASS_NAME_B::FUNCTION_NAME_B).expects(once()).after(???, "1").will(ignoreReturnValue());
what should i fill for ???