public void Initialise_Test01() { var mockedCreditView = new Mock <ICreditView>(); var creditLineView = new CreditLineView(null); creditLineView.Initialise(mockedCreditView.Object); Assert.That(creditLineView.CreditView, Is.EqualTo(mockedCreditView.Object)); }
public void SetUp() { _creditViewLineDt = new CreditViewLineDt(); _creditLineView = new CreditLineView(_creditViewLineDt); }