DocumentBundlor { public static DocumentBundlor from(NodeState nodeState){ checkArgument(nodeState.hasProperty(PROP_PATTERN), "NodeState [%s] does not have required " + "property [%s]", nodeState, PROP_PATTERN); return DocumentBundlor.from(nodeState.getStrings(PROP_PATTERN)); } private  DocumentBundlor(List<Include> includes); static DocumentBundlor from(NodeState nodeState); static DocumentBundlor from(Iterable<String> includeStrings); static DocumentBundlor from(PropertyState prop); boolean isBundled(String relativePath); PropertyState asPropertyState(); Matcher createMatcher(); @Override String toString(); static final String BUNDLOR_META_PROP_PREFIX; static final String META_PROP_PATTERN; static final String META_PROP_BUNDLING_PATH; static final String HAS_CHILD_PROP_PREFIX; static final String META_PROP_BUNDLED_CHILD; static final String META_PROP_NON_BUNDLED_CHILD; static final String PROP_DISABLED; static final String PROP_PATTERN; }
@Test(expected = IllegalArgumentException.class) public void invalid() throws Exception{ DocumentBundlor.from(builder.getNodeState()); }
@Test(expected = IllegalArgumentException.class) public void invalid2() throws Exception{ DocumentBundlor.from(Collections.<String>emptyList()); }