private CanPurchase_AllIsWell_ReturnsTrue ( ) : void | ||
return | void |
public void CanPurchase_AllIsWell_ReturnsTrue()
{
FakeTestingValidator fakeValidator
= makeFakeValidator(true);
PersonLogicBTestable logicUnderTest = new PersonLogicBTestable(fakeValidator);
//Person to pass in
Person p = makePersonWithPurchasePossible();
//test
bool canPurchase = logicUnderTest.CanPurchase(p);
Assert.IsTrue(canPurchase);
}