Code example for TestMethod

0
		public @b void testAB() {} //NOPMD 
		public @b @c void testABC() {} //NOPMD 
		public @b @c @d void testABCD() {} //NOPMD 
	} 
	 
	private final static TestMethod TM_A = new TestMethod("testA", ExampleTestCase.class);
	private final static TestMethod TM_AB = new TestMethod("testAB", ExampleTestCase.class);
	private final static TestMethod TM_ABC = new TestMethod("testABC", ExampleTestCase.class);
	private final static TestMethod TM_ABCD = new TestMethod("testABCD", ExampleTestCase.class);
	 
	 
	public void testFilter_ordinaryAnnotations() 
	{ 
		FilterPredicate predicate = new CustomFilterPredicate(null);
		assertTrue(predicate.apply(TM_A));
		assertTrue(predicate.apply(TM_AB));
		assertTrue(predicate.apply(TM_ABC));
		assertTrue(predicate.apply(TM_ABCD));
				 
		predicate = new CustomFilterPredicate("");