public class FormResolverTests extends AbstractDataResolverTests {
private Form form;
@Test
public void nodeps() {
FormResolverFactory resolverFactory = new FormResolverFactory(null);
try {
resolverFactory.getDataResolver(new DataResolverContext(String.class, null, null));
fail();
} catch (IllegalArgumentException e) {
assertThat(e, exception("no FormService defined"));
}
}