@Test
public void testSelectorsFromConfigCompactForm() {

    List<WebsterChecklistTarget.Selector> pathSelector =
            selectorsFromConfigCompactForm(key("selectPaths", arr("/foo1", "/foo2")).get());
    assertEquals("expect type", PATH, pathSelector.get(0).getType());
    assertEquals("expect args", Arrays.asList("/foo1", "/foo2"), pathSelector.get(0).getArgs());
    List<WebsterChecklistTarget.Selector> ntSelector =
            selectorsFromConfigCompactForm(key("selectNodeTypes", arr("foo:nt1", "foo:mix1")).get());
    assertEquals("expect type", NODETYPE, ntSelector.get(0).getType());
    assertEquals("expect args", Arrays.asList("foo:nt1", "foo:mix1"), ntSelector.get(0).getArgs());
    List<WebsterChecklistTarget.Selector> querySelector =
            selectorsFromConfigCompactForm(key("selectQuery", "select * from [nt:base]").get());
    assertEquals("expect type", QUERY, querySelector.get(0).getType());
    assertEquals("expect args", Collections.singletonList("select * from [nt:base]"),
            querySelector.get(0).getArgs());
}