Hi,
TypeMock does
NOT diffrentiate between overload methods.
There is no need to add Arg() tests, this doesn't help.
The only way to look at it is by seeing the overload methods as one method and knowning when each one will be called.
So if you know that RepositoryItemLookUpEdit will be called the first time with (Type...) and the second time with (TectEditStyles...) you can do the following:
// The first time , just continue
mock.ExpectAndReturn("RepositoryItemLookUpEdit",MockManager.CONTINUE_WITH_METHOD);
// The second time - mock
Class6 returnClass = new Class6().RepositoryItemLookUpEdit(TextEditStyles.Standard, typeof(Stoiheio),"StoiheioName",true);
mock.ExpectAndReturn("RepositoryItemLookUpEdit", returnClass);
I hope this clear things up