public void Given_Valid_Account_Deatils_ChapsPayment_Should_Process() { _chaps = new ChapsPayment(); _account = new DeveloperTest.Types.Account { AccountNumber = "1223456", AllowedPaymentSchemes = DeveloperTest.Types.AllowedPaymentSchemes.Chaps, Balance = 80M }; Assert.AreEqual(true, _chaps.isAllowedPayementScheme(_account)); }
public void Setup() { _target = new ChapsPayment(Bootstrapper.Container.GetInstance <IAccountFlag>()); }