getNames(p2.getClasses()));
}
@Test
public void testGetNoMatchClasses() {
MethodCoverageImpl m = new MethodCoverageImpl("doit", "()V", null);
m.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 1);
addClass(1, true, "Sample1", null, m);
m = new MethodCoverageImpl("doit", "()V", null);
m.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 2);
addClass(2, true, "Sample2", null, m);
m = new MethodCoverageImpl("doit", "()V", null);
m.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 3);
addClass(3, false, "Sample3", null, m);
final Set<String> actual = getNames(coverageBuilder.getNoMatchClasses());
final Set<String> expected = new HashSet<String>(Arrays.asList(
"Sample1", "Sample2"));