public async Task Artisans_Get_ShouldReturnCorrectSchema() { var testData = _nautilusHelpers.GetDefaultTestData(ArtisansApplicationStatus.Open); var createResult = await _httpHelpers.CreateApplication(testData); var applicationId = createResult.ApplicationId; var applicationResult = await _httpHelpers.GetApplication(applicationId); applicationResult.StatusCode.Should().Be(HttpStatusCode.OK); JObject appObj = JObject.Parse(applicationResult.Application); var schemaData = _schema.ToJson(); var schemaErrors = _schema.Validate(appObj); schemaErrors.Count.Should().Be(0); var responseId = int.Parse(appObj.GetValue("id").ToString()); responseId.Should().Be(applicationId); }