Esempio n. 1
0
        public void Setup()
        {
            requesterHelperMock = new Mock <IRequesterHelper>();
            requesterHelper     = requesterHelperMock.Object;

            repository = new BillyRepository(requesterHelper);
        }
Esempio n. 2
0
 /// <summary>
 /// Creates a new instance of billyRepository
 /// </summary>
 /// <param name="requestHelper">Requester helper dependency injection </param>
 public BillyRepository(IRequesterHelper requestHelper)
 {
     this.requestHelper = requestHelper;
 }