public async Task ValidateJsonStreamTest(string baseFilename) { var resourceFilename = Path.Join("Resources", "v2.2", baseFilename + ".json"); using (var jsonStream = File.OpenRead(resourceFilename)) { var validationResult = await JsonValidator.ValidateAsync(jsonStream).ConfigureAwait(false); Assert.True(validationResult.Valid); } }