public void ConvertToViewTest() { PaymentPointsProvider target = new PaymentPointsProvider(); // TODO: Initialize to an appropriate value PaymentPoints item = _PaymentPoints; basePaymentPointsView expected = _basePaymentPointsView; basePaymentPointsView actual; actual = target.ConvertToView(item); CompareViewObject(expected, actual); }
public void ConvertToModelTest() { PaymentPointsProvider target = new PaymentPointsProvider(); // TODO: Initialize to an appropriate value basePaymentPointsView item = _basePaymentPointsView; PaymentPoints expected = _PaymentPoints; PaymentPoints actual; actual = target.ConvertToModel(item); CompareModelObject(expected, actual); }
public void ConvertToViewListTest() { PaymentPointsProvider target = new PaymentPointsProvider(); // TODO: Initialize to an appropriate value List <PaymentPoints> itemlist = new List <PaymentPoints>(); itemlist.Add(_PaymentPoints); itemlist.Add(_PaymentPoints); List <basePaymentPointsView> expected = new List <basePaymentPointsView>(); expected.Add(_basePaymentPointsView); expected.Add(_basePaymentPointsView); List <basePaymentPointsView> actual; actual = target.ConvertToViewList(itemlist); Assert.AreEqual(expected.Count, actual.Count); CompareViewObject(expected[0], actual[0]); CompareViewObject(expected[1], actual[1]); }
public void PaymentPointsProviderConstructorTest() { PaymentPointsProvider target = new PaymentPointsProvider(); }