blob: 4c5c2cebdcec6f3532c2ee095b374c3870133973 [file] [log] [blame]
package org.junit.tests.junit3compatibility;
import static org.junit.Assert.assertNull;
import org.junit.Test;
import org.junit.internal.builders.SuiteMethodBuilder;
public class ClassRequestTest {
public static class PrivateSuiteMethod {
static junit.framework.Test suite() {
return null;
}
}
@Test
public void noSuiteMethodIfMethodPrivate() throws Throwable {
assertNull(new SuiteMethodBuilder()
.runnerForClass(PrivateSuiteMethod.class));
}
}