コード例 #1
0
 public void TestSetup()
 {
     _mock            = new OfferingAccessorMock();
     _offeringManager = new OfferingManager(_mock);
     _offerings       = new List <Offering>();
     _viewModels      = new List <OfferingVM>();
 }
コード例 #2
0
 /// <summary author="Jared Greenfield" created="2019/02/20">
 /// OfferingManager is an implementation of IOfferingManager meant to deal with mock OfferingAccessor.
 /// </summary>
 public OfferingManager(OfferingAccessorMock mock)
 {
     _offeringAccessor = mock;
 }