    @Test
    public void canCastClassToKnownInterfaceAndUsePackageName() throws Exception {

        String classDef = "package com.acme.util;" +
                "import java.util.function.IntSupplier;" +
                "public class ZeroSupplier implements IntSupplier {" +
                "public int getAsInt() { return 0; }" +
                "}";

        Class<?> cls = javacService.compileJavaClass( DefaultClassLoaderContext.INSTANCE,
                "com.acme.util.ZeroSupplier", classDef )
                .orElseThrow( () -> new AssertionError( "Failed to compile class" ) );

        IntSupplier instance = ( IntSupplier ) cls.newInstance();

        int zero = instance.getAsInt();

        assertEquals( 0, zero );
    }