public void ShouldPassValidContract()
        {
            //Arrange


            //Act
            var valRes = new ApiContractValidator().Validate(typeof(IRightContract));

            //Assert
            Assert.Empty(valRes);
        }
        public void ShouldDetectWarningWrongContract(Type contractType)
        {
            //Arrange


            //Act
            var valRes = new ApiContractValidator().Validate(contractType);

            _output.WriteLine(valRes.ToString());

            //Assert
            Assert.True(valRes.All(iss => !iss.Critical));
        }
        public void ShouldDetectCriticalWrongContract(Type contractType)
        {
            //Arrange


            //Act
            var valRes = new ApiContractValidator().Validate(contractType);

            _output.WriteLine(valRes.ToString());

            //Assert
            Assert.Contains(valRes, iss => iss.Critical);
        }