public void GivenAValidServiceProvider__RequiredServicesResolveBackendCorrectly() { EawXBuildApplication app = new EawXBuildApplication( TestUtility.GetConfiguredServiceCollection().BuildServiceProvider(), new RunOptions()); IBuildConfigParser xmlParser = app.GetXmlBuildConfigParserInternal(app.Services.GetService <IIOHelperService>()); Assert.IsInstanceOfType(xmlParser, typeof(XmlBuildConfigParser)); IBuildConfigParser luaParser = app.GetLuaBuildConfigParserInternal(); Assert.IsInstanceOfType(luaParser, typeof(LuaBuildConfigParser)); }