Exemple #1
0
        public void ShouldParseTypeWithNestedTypes()
        {
            var raml1Type = raml1TypeBuilder.Add(typeof(ForksPostResponse));

            Assert.That(!string.IsNullOrWhiteSpace(raml1Type));
            Assert.IsTrue(raml1Types.ContainsKey("ForksPostResponse"));
            Assert.IsTrue(raml1Types.ContainsKey("Owner"));
        }
        public void ShouldParseTypeWithNestedTypes()
        {
            var raml1Type = raml1TypeBuilder.Add(typeof(ForksPostResponse));

            Assert.NotNull(raml1Type);
            Assert.True(raml1Types.ContainsKey("ForksPostResponse"));
            Assert.True(raml1Types.ContainsKey("Owner"));
        }