|
|
@@ -46,10 +46,12 @@ import java.util.Date; |
|
|
|
import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner; |
|
|
|
|
|
|
|
import static org.mockito.Mockito.*; |
|
|
|
import org.springframework.test.annotation.DirtiesContext; |
|
|
|
|
|
|
|
@SuppressWarnings( { "ThrowableInstanceNeverThrown" } ) |
|
|
|
@RunWith( ArchivaSpringJUnit4ClassRunner.class ) |
|
|
|
@ContextConfiguration( locations = { "classpath*:/META-INF/spring-context.xml", "classpath:/spring-context.xml" } ) |
|
|
|
@DirtiesContext( classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD ) |
|
|
|
public class DuplicateArtifactsConsumerTest |
|
|
|
extends TestCase |
|
|
|
{ |
|
|
@@ -85,6 +87,7 @@ public class DuplicateArtifactsConsumerTest |
|
|
|
|
|
|
|
|
|
|
|
@Before |
|
|
|
@Override |
|
|
|
public void setUp() |
|
|
|
throws Exception |
|
|
|
{ |