@Test
public void testEnumerateFileNameOptionsWithComplexContext() {

    List<String> options = strategy.enumerateFileNameOptions(
    		new String[] { "config.xml" }, in("localhost", "application", "debug"));
    assertEquals(8, options.size());
    assertEquals("config-localhost-application-debug.xml", options.get(0));
    assertEquals("config-application-debug.xml", options.get(1));
    assertEquals("config-localhost-debug.xml", options.get(2));
    assertEquals("config-debug.xml", options.get(3));
    assertEquals("config-localhost-application.xml", options.get(4));
    assertEquals("config-application.xml", options.get(5));
    assertEquals("config-localhost.xml", options.get(6));
    assertEquals("config.xml", options.get(7));
}