@Test
public void shouldReturnOnlyWithModifiers() {

	// when
	Iterable<Class<?>> result = ClassFilter.only().withModifiers(Modifier.STATIC).from(list);
	// then
	assertThat(result).containsOnly(InnerClasses.InnerComponent.class);
}