adjust mock expectation in transmit resource test