Esempio n. 1
0
        public void Validate_Cvr_Number(string cvrNumber, bool expectedIsSuccess)
        {
            var actualIsSuccess = CvrNumber.CheckRules(cvrNumber).Success;

            actualIsSuccess.Should().Be(expectedIsSuccess);
        }
Esempio n. 2
0
 private static bool IsValidCvr(GreenEnergyHub.Messaging.MessageTypes.Common.MarketParticipant propertyValue)
 {
     return(propertyValue.Qualifier == "VA" && CvrNumber.CheckRules(propertyValue.MRID).Success);
 }