} catch (RSSpectException r) {
assertEquals(r.getMessage(), "name SHOULD NOT be blank.");
}
try {
Name name = rssDoc.buildName("someone special");
assertNotNull(name);
assertEquals(name.getName(), "someone special");
} catch (RSSpectException r) {
fail("should not get here.");
}
}