In jersey 2.0 there is JUnit 4.x framework. Do not extend from TestCase but use annotation based tests (package org.junit.*). Please see other Jersey tests.