public void TestItReturnsCorrectAirportKeyWithDescriptor() { ConfigFileSection configSection = ConfigFileSectionFactory.Make(dataType: InputDataType.ESE_AGREEMENTS); Assert.Equal("airport.ESE_AGREEMENTS.EGLL", OutputGroupKeyGenerator.GenerateAirportKey(configSection, "EGLL")); }
public void TestItReturnsCorrectAirportKeyWithoutDescriptor() { ConfigFileSection configSection = ConfigFileSectionFactory.Make(descriptor: null, dataType: InputDataType.SCT_STARS); Assert.Equal("airport.SCT_STARS", OutputGroupKeyGenerator.GenerateAirportKey(configSection, "EGLL")); }
public void TestItReturnsCorrectMiscKey() { ConfigFileSection configSection = ConfigFileSectionFactory.Make(dataType: InputDataType.ESE_AGREEMENTS); Assert.Equal("misc.ESE_AGREEMENTS", OutputGroupKeyGenerator.GenerateMiscKey(configSection)); }