public class Foo { public void doSomething() { } } public class FooTest extends TestCase { public void testDoSomething() { } }