abstract
and do not
expose a public no-arg
constructor or a public constructor that takes a single string
as an argument.
Such test cases cannot be run by most JUnit test runners.
Example:
public class MyTest {
private MyTest() {} // no-arg constructor is private
@Test
public void testSomething() {
assertEquals(1, 1);
}
}