public void CanHandle()
        {
            // arrange
            var generator = new OutputModelInterfaceGenerator();

            var descriptor = new OutputModelInterfaceDescriptor(
                "Test",
                "Demo",
                new[] { "ITest" },
                new[] { new OutputFieldDescriptor("Foo", "foo", "Bar") });

            // act
            var canHandle = generator.CanHandle(descriptor);

            // assert
            Assert.True(canHandle);
        }
        public async Task GenerateModel()
        {
            // arrange
            var sb     = new StringBuilder();
            var writer = new CodeWriter(sb);

            var generator = new OutputModelInterfaceGenerator();

            var descriptor = new OutputModelInterfaceDescriptor(
                "Test",
                "Demo",
                new[] { "ITest" },
                new[] { new OutputFieldDescriptor("Foo", "foo", "Bar") });

            // act
            await generator.WriteAsync(writer, descriptor);

            // assert
            sb.ToString().MatchSnapshot();
        }