Im trying to mock a class and too see that the mocking is successful
but it doesn't seems to have the effect i want
This is an example
auto poolclient = FAKE_ALL<PoolClient>();
auto ten = sjm::Sys::DoubleTime(10, 0);
WHEN_CALLED(poolclient->getWriteTime(ANY_VAL(PoolKey), ANY_VAL(bool))).Return(BY_VAL(ten));
auto time = poolclient->getWriteTime(destKey, true);
CHECK(time.sec() == 10);
the desired value is 10 but i get 0 as if the actual method is called. im running this with the -w -g4 and -O0 flugs and exporting the variables. Please assist