public void CreateProvider_Arbitrary_OfArbitraryType() { //arrange var config = new OrchestratorConfig { InputDataKind = KindOfTextData.Arbitrary, ArbitraryInputDefs = new string[] { "dummy dummy" } }; //act var sut = IntakeProvider.CreateProvider(config, null, null, null); //assert sut.Should().BeOfType <ArbitraryIntakeProvider>(); }
public void CreateProvider_Flat_OfFlatType() { //arrange var config = new OrchestratorConfig { InputDataKind = KindOfTextData.Flat }; //act var sut = IntakeProvider.CreateProvider(config, null, null, null); //assert sut.Should().BeOfType <FlatIntakeProvider>(); }
public void CreateProvider_Delimited_OfDelimitedType() { //arrange var config = new OrchestratorConfig { InputDataKind = KindOfTextData.Delimited }; //act var sut = IntakeProvider.CreateProvider(config, null, null, null); //assert sut.Should().BeOfType <DelimitedIntakeProvider>(); }
public void CreateProvider_Keyword_OfKwType() { //arrange var config = new OrchestratorConfig { InputDataKind = KindOfTextData.Keyword }; //act var sut = IntakeProvider.CreateProvider(config, null, null, null); //assert sut.Should().BeOfType <KwIntakeProvider>(); }
public void CreateProvider_Ultimate_TBD() { //arrange var config = new OrchestratorConfig { InputDataKind = KindOfTextData.Ultimate }; //act var sut = IntakeProvider.CreateProvider(config, null, null, null); //assert sut.Should().BeNull(); // future use }
public void CreateProvider_UnboudJSON_OfXrecordType() { //arrange var config = new OrchestratorConfig { InputDataKind = KindOfTextData.UnboundJSON }; //act var sut = IntakeProvider.CreateProvider(config, null, null, null); //assert sut.Should().BeOfType <XrecordIntakeProvider>(); }