@@ -0,0 +1,1585 @@
+package org.qi4j.runtime;%0A%0Aimport static org.hamcrest.CoreMatchers.*;%0Aimport static org.junit.Assert.*;%0Aimport org.junit.Test;%0Aimport org.qi4j.bootstrap.AssemblyException;%0Aimport org.qi4j.bootstrap.ModuleAssembly;%0Aimport org.qi4j.composite.Composite;%0Aimport org.qi4j.composite.Mixins;%0Aimport org.qi4j.composite.scope.ThisCompositeAs;%0Aimport org.qi4j.test.Qi4jTestSetup;%0A%0A/**%0A * Unit tests related to private mixins.%0A */%0Apublic class PrivateMixinTest%0A    extends Qi4jTestSetup%0A%7B%0A    public void assemble( ModuleAssembly module )%0A        throws AssemblyException%0A    %7B%0A        module.addComposites( SpeakComposite.class );%0A    %7D%0A%0A    /**%0A     * Tests that private mixins are injected correctly.%0A     */%0A    @Test%0A    public void privateMixinInjection()%0A    %7B%0A        SpeakComposite test = compositeBuilderFactory.newCompositeBuilder( SpeakComposite.class ).newInstance();%0A        assertThat( %22Speak%22, test.speak(), is( equalTo( %22I say it works%22 ) ) );%0A    %7D%0A%0A    @Mixins( SpeakMixin.class )%0A    public interface Speak%0A    %7B%0A        String speak();%0A    %7D%0A%0A    public static class SpeakMixin%0A        implements Speak%0A    %7B%0A        @ThisCompositeAs Word word;%0A%0A        public String speak()%0A        %7B%0A            return %22I say %22 + word.get();%0A        %7D%0A    %7D%0A%0A    @Mixins( %7B WordMixin.class %7D )%0A    public interface SpeakComposite%0A        extends Speak, Composite%0A    %7B%0A    %7D%0A%0A    public interface Word%0A    %7B%0A        String get();%0A    %7D%0A%0A    public static class WordMixin%0A        implements Word%0A    %7B%0A        public String get()%0A        %7B%0A            return %22it works%22;%0A        %7D%0A    %7D%0A%0A%7D%0A

Refactor private mixin test.