@@ -0,0 +1,1250 @@
+package de.akquinet.jbosscc.needle.configuration;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertThat;%0A%0Aimport org.junit.ClassRule;%0Aimport org.junit.Test;%0A%0Aimport de.akquinet.jbosscc.needle.db.operation.hsql.HSQLDeleteOperation;%0A%0Apublic class NeedleConfigurationWithDifferentResourceTest %7B%0A%0A    // load mockito resource and switch back to default after().%0A    @ClassRule%0A    public static NeedleConfigurationResetRule configurationReset = new NeedleConfigurationResetRule(%22needle-mockito%22);%0A%0A    private final NeedleConfiguration needleConfiguration = NeedleConfiguration.get();%0A%0A    @Test%0A    public void shouldReTestWithDifferentPropertyFile() throws Exception %7B%0A%0A        // repeat other tests on needle-mockito file%0A        assertThat(needleConfiguration.getMockProviderClassName(), is(%22de.akquinet.jbosscc.needle.mock.MockitoProvider%22));%0A        assertEquals(HSQLDeleteOperation.class.getName(), needleConfiguration.getDBOperationClassName());%0A        assertEquals(HSQLDeleteOperation.class.getName(), needleConfiguration.getDBOperationClassName());%0A        assertEquals(HSQLDeleteOperation.class.getName(), needleConfiguration.getDBOperationClassName());%0A%0A    %7D%0A%0A%7D%0A

test explicit switch to mockito properties