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)








Last edited Jun 10, 2015 at 7:04 AM by jason_r, version 2

Comments

No comments yet.