public override void Setup() { Schema = JsonSchemaTestHelper.CreateJsonSchema(); Sut = new RoslynNetWriter(); }
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); }