Moved to GitHub https://github.com/jason-roberts/MoqaLate
Once you have MoqaLate set up:
Given the interface:
public interface INavigator
{
void NavigateTo(string uri);
List<int> GetSomeInts(string xxx);
}
MoqaLate will generate a class called NavigatorMoqaLate
This mock will have:
- NavigateToParameteruriLastCalledWith
- NavigateToWasCalled()
- NavigateToWasCalled(int times)
- int NavigateToTimesCalled()
- NavigateToWasCalledWith(string uri)
- GetSomeIntsParameterxxxLastCalledWith
- GetSomeIntsSetReturnValue(List<int> value)
- GetSomeIntsWasCalled()
- GetSomeIntsWasCalled(int times)
- int GetSomeIntsTimesCalled()
- GetSomeIntsWasCalledWith(string xxx)