@Override
    protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {
        String fullName = aliases.getOrDefault(name, name);
        PluginClassLoader pluginLoader = pluginClassLoader(fullName);
        if (pluginLoader != null) {
            log.trace("Retrieving loaded class '{}' from '{}'", fullName, pluginLoader);
            return pluginLoader.loadClass(fullName, resolve);
        }

        return super.loadClass(fullName, resolve);
    }
@Test
    @SuppressWarnings({"unchecked", "rawtypes"})
    public void testEmptyLoadClass() throws ClassNotFoundException {
        when(parent.loadClass(ARBITRARY, false)).thenReturn((Class) ARBITRARY_CLASS);
        assertSame(ARBITRARY_CLASS, classLoader.loadClass(ARBITRARY, false));
    }