DataProviderFilter extends Filter { @Override public String describe() { return filter.describe(); } DataProviderFilter(Filter filter); @Override boolean shouldRun(Description description); @Override String describe();  }
@Test public void testDescribeShouldReturnFilterDescripe() { when(filter.describe()).thenReturn("Method testMain[1: ](com.tngtech.Clazz)"); String result = underTest.describe(); assertThat(result).isEqualTo("Method testMain[1: ](com.tngtech.Clazz)"); }