### Question:
MergedCssBuilder extends MergedResourceBuilder { public MergedCssBuilder addCss(Class<?> scope, String path) { return addCss(new PackageResourceReference(scope, path)); } MergedCssBuilder(); MergedCssBuilder setPath(String path); MergedCssBuilder setCssMedia(String media); MergedCssBuilder addCss(Class<?> scope, String path); MergedCssBuilder addCss(ResourceReference ref);  }### Answer:
@Test(expected=IllegalStateException.class) public void testMissingPathThrowsException() { MergedCssBuilder b = new MergedCssBuilder(); b.addCss(getClass(), "1.css"); b.install(new WicketTester().getApplication()); }