source: class PtlBlockJUnit4ClassRunnerWithParametersTest {
  
  	@Test
  	public void testValidateParameterizedAfterClass() throws Exception {
  
target: 		Result result = JUnitCore.runClasses(ValidateParameterizedAfterClass.class);
  		assertThat(result.getFailureCount(), is(3));
  
  		for (Failure failure : result.getFailures()) {
  			assertThat(
  					failure.getMessage(),
  					is(anyOf(equalTo("Method afterClass() should be static"),
  							equalTo("Method afterClass() should be public"),
  							//							equalTo("Method afterClass() should have 1 parameters"),
  							equalTo("Method afterClass() should be void"))));
  		}
  	}
  
  }