public void ValidateOrder_SevenCharacters_ReturnsFalse() { OrderValidation orderValidation = new OrderValidation(); Boolean result = orderValidation.OrderNumberIsValid("YN50-231"); Assert.AreEqual(result, false); }
public void ValidateOrder_Returns_True() { OrderValidation orderValidation = new OrderValidation(); Boolean result = orderValidation.OrderNumberIsValid("YN50-2315"); Assert.AreEqual(result, true); }
public void ValidateOrder_AllNumbers_ReturnsFalse() { OrderValidation orderValidation = new OrderValidation(); Boolean result = orderValidation.OrderNumberIsValid("1250-2315"); Assert.AreEqual(result, false); }