public void GivenArrowSchemaManager_WhenAddSchema_SchemaShouldBeAddedWithoutException() { // Mock Organization schema node var organizationSchemaNode = new FhirParquetSchemaNode { ChoiceTypeNodes = new Dictionary <string, Tuple <string, string> >(), Depth = 0, Name = "Organization", NodePaths = new List <string> { "Organization" }, IsRepeated = false, SubNodes = new Dictionary <string, FhirParquetSchemaNode>(), Type = "Organization", }; var arrowSchemaManager = new ArrowSchemaManager(TestConstants.TestSchemaMap); arrowSchemaManager.AddOrUpdateArrowSchema("Organization", organizationSchemaNode); }
public void GivenNoSchemaMapOrASchemaMap_WhenCreateArrowSchemaManager_ArrowSchemaManagerShouldBeReturned() { _ = new ArrowSchemaManager(); _ = new ArrowSchemaManager(TestConstants.TestSchemaMap); }