@Test
public void whenMultiplePropertyPlaceholdersWithIgnoreUnresolvableInAllExceptOneDoNotFail() throws MuleArtifactFactoryException, DocumentException
{
SpringXmlConfigurationMuleArtifactFactory factoryTest = new SpringXmlConfigurationMuleArtifactFactory();
XmlConfigurationCallback callback = getXmlConfigurationCallbackMock();
Element[] propertyPlaceholders = new Element[3];
propertyPlaceholders[0] = createPropertyPlaceholder("test1.properties", null);
propertyPlaceholders[1] = createPropertyPlaceholder("test2.properties", "true");
propertyPlaceholders[2] = createPropertyPlaceholder("test3.properties", "true");
Mockito.when(callback.getPropertyPlaceholders()).thenReturn(propertyPlaceholders);
Element element = createElement("logger", "http://www.mulesoft.org/schema/mule/core");
String muleConfigTxt = factoryTest.getArtifactMuleConfig("test-flow", element, callback, false);
Document muleConfig = DocumentHelper.parseText(muleConfigTxt);