public void Setup() { requesterHelperMock = new Mock <IRequesterHelper>(); requesterHelper = requesterHelperMock.Object; repository = new BillyRepository(requesterHelper); }
/// <summary> /// Creates a new instance of billyRepository /// </summary> /// <param name="requestHelper">Requester helper dependency injection </param> public BillyRepository(IRequesterHelper requestHelper) { this.requestHelper = requestHelper; }