throws Exception
{
super.setUp();
MockControl schedulerControl = MockControl.createControl( ArchivaTaskScheduler.class );
ArchivaTaskScheduler scheduler = (ArchivaTaskScheduler) schedulerControl.getMock();
repoFactoryControl = MockClassControl.createControl( RepositoryContentFactory.class );
repoFactory = (RepositoryContentFactory) repoFactoryControl.getMock();
managedRepoAdminControl = MockControl.createControl( ManagedRepositoryAdmin.class );