You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a test double (either a Stub or a Mock,) you are not able to specify the return value, output parameter values, or the expectations on a class method that has overloaded parameters.
Although the existing implementation of OEMock will function if the values are set on the objects, there is no way to specify which overloaded method they should be attached to. Instead, they are simply added to the first method found with that name.
A sensible naming system should be defined which allows these methods to be identified.
The text was updated successfully, but these errors were encountered:
When creating a test double (either a Stub or a Mock,) you are not able to specify the return value, output parameter values, or the expectations on a class method that has overloaded parameters.
Although the existing implementation of OEMock will function if the values are set on the objects, there is no way to specify which overloaded method they should be attached to. Instead, they are simply added to the first method found with that name.
A sensible naming system should be defined which allows these methods to be identified.
The text was updated successfully, but these errors were encountered: