public void Validate_Cvr_Number(string cvrNumber, bool expectedIsSuccess) { var actualIsSuccess = CvrNumber.CheckRules(cvrNumber).Success; actualIsSuccess.Should().Be(expectedIsSuccess); }
private static bool IsValidCvr(GreenEnergyHub.Messaging.MessageTypes.Common.MarketParticipant propertyValue) { return(propertyValue.Qualifier == "VA" && CvrNumber.CheckRules(propertyValue.MRID).Success); }