use of org.ovirt.engine.api.model.Tag in project ovirt-engine by oVirt.
the class AbstractBackendAssignedTagsResourceTest method testAddIncompleteParameters.
@Test
public void testAddIncompleteParameters() throws Exception {
setUriInfo(setUpBasicUriExpectations());
try {
collection.add(new Tag());
fail("expected WebApplicationException on incomplete parameters");
} catch (WebApplicationException wae) {
verifyIncompleteException(wae, "Tag", "add", "id|name");
}
}
Aggregations