public override void Setup()
        {
            Schema =
                JsonSchemaTestHelper.CreateJsonSchema();

            Sut = new RoslynNetWriter();
        }
Exemplo n.º 2
0
        public override void Setup()
        {
            var jsonFilePath = PathHelper.JsonSampleFile.FullName;
            var schema       =
                JsonSchemaTestHelper.CreateJsonSchema();

            var fileWasCreated =
                JsonSchemaTestHelper.WriteJsonSchemaToFile(jsonFilePath, schema);

            Assert.IsTrue(fileWasCreated);

            Sut = new JsonFileSchemaReader(jsonFilePath);
        }