public class UtilityTest extends TestCase {
public static void testServiceManager() throws Exception {
ServiceManager sm = ServiceManager.getInstance();
assertNotNull(sm);
assertNotNull(sm.newServiceContext(new HashMap<String,String>()));
}
public static void testEntityTag() throws Exception {
EntityTag etag1 = EntityTag.parse("\"foo\"");
assertEquals(etag1.getTag(),"foo");