@Test
public void isInClassLoaderReturnsFalseWhenClassNotFound() {

    TestClassLoader cl = new TestClassLoader();
    ClassNameResolver resolver = ClassNameResolver.getDefault();;
    assertThat(resolver.isInClassLoader("some.non.existing.class", cl)).isFalse();
}