@Test
public void getComponentPaths() {
MyProcessor processor = new MyProcessor();
assertArrayEquals(new String[] { "simple/" }, processor.getComponentPaths());
new SimpleComponent(processor, "a");
new SimpleComponent(processor, "x/c");
new SimpleComponent(processor, "x/b");
new SimpleComponent(processor, "x/b/c");
new SimpleComponent(processor, "x/b/d");
// 注意排序
assertArrayEquals(new String[] { "simple/", "x/b/c/", "x/b/d/", "x/b/", "x/c/", "a/" },
processor.getComponentPaths());
}