@@ -0,0 +1,1354 @@
+package com.artemis;%0A%0Aimport com.artemis.annotations.Wire;%0Aimport com.artemis.injection.FieldResolver;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotNull;%0Aimport static org.mockito.Matchers.any;%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.mockito.Mockito.verify;%0A%0A/**%0A * @author Daan van Yperen%0A */%0Apublic class WorldConfigurationBuilderInjectionTest %7B%0A%0A%09private WorldConfigurationBuilder builder;%0A%0A%09@Before%0A%09public void setUp() throws Exception %7B%0A%09%09builder = new WorldConfigurationBuilder();%0A%09%7D%0A%0A%09@Test%0A%09public void custom_field_resolvers_should_not_suppress_default_wiring() %7B%0A%0A%09%09FieldResolver resolver = mock(FieldResolver.class);%0A%09%09CoopSystem coopSystem = new CoopSystem();%0A%09%09builder%0A%09%09%09%09.with(coopSystem)%0A%09%09%09%09.register(resolver);%0A%0A%09%09WorldConfiguration configuration = builder.build();%0A%09%09Chicken chicken = new Chicken();%0A%09%09configuration.register(chicken);%0A%0A%09%09new World(configuration);%0A%09%09assertEquals(chicken,coopSystem.myChicken);%0A%09%09assertNotNull(coopSystem.mFlaming);%0A%09%7D%0A%0A%09public static class Chicken %7B%7D;%0A%09public static class Flaming extends Component %7B%7D;%0A%09public static class CoopSystem extends BaseSystem %7B%0A%0A%09%09@Wire%0A%09%09public Chicken myChicken;%0A%09%09public ComponentMapper%3CFlaming%3E mFlaming;%0A%0A%09%09@Override%0A%09%09protected void processSystem() %7B%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add regression test.