Avoid setRequestExpectations() call in internal API mode