public void CheckingСonflictBetweenParametersOfDifferentTypes() { // arrange AdvancedWageParameter bottleParam = new BottlesCountAdvancedWageParameter(); AdvancedWageParameter deliveryTimeParam = new DeliveryTimeAdvancedWageParameter(); // act bool result = bottleParam.HasConflicWith(deliveryTimeParam); // assert Assert.IsTrue(result); }
public bool ConflictBetweenParam(BottlesCountAdvancedWageParameter param1, BottlesCountAdvancedWageParameter param2) { return(param1.HasConflicWith(param2)); }