import org.xwiki.configuration.ConfigurationSource;
import org.xwiki.model.reference.DocumentReference;
import org.xwiki.test.AbstractComponentTestCase;
public class SpacePreferencesConfigurationSourceTest extends AbstractComponentTestCase
{
<BUG>private Mockery mockery = new Mockery();</BUG>
private DocumentAccessBridge bridge;
@Override
protected void registerComponents() throws Exception
{
super.registerComponents();
<BUG>this.bridge = registerComponentMock(getComponentManager(), DocumentAccessBridge.class);
</BUG>
}

import org.xwiki.configuration.ConfigurationSource;
import org.xwiki.model.reference.DocumentReference;
import org.xwiki.test.AbstractComponentTestCase;
public class SpacePreferencesConfigurationSourceTest extends AbstractComponentTestCase
{
private DocumentAccessBridge bridge;
@Override
protected void registerComponents() throws Exception
{
super.registerComponents();
this.bridge = registerMockComponent(DocumentAccessBridge.class);
}
