import org.junit.Test;
import org.junit.Before;
import org.xwiki.rendering.macro.MacroCategoriesManager;</BUG>
import org.xwiki.rendering.configuration.RenderingConfiguration;
<BUG>import org.xwiki.rendering.internal.configuration.DefaultRenderingConfiguration;
import org.xwiki.test.AbstractComponentTestCase;</BUG>
public class DefaultMacroCategoriesManagerTest extends AbstractComponentTestCase
{
<BUG>private MacroCategoriesManager macroCategoriesManager;
@Before</BUG>
public void setUp() throws Exception

import org.junit.Test;
import org.xwiki.component.descriptor.DefaultComponentDescriptor;
import org.xwiki.rendering.configuration.RenderingConfiguration;
import org.xwiki.rendering.internal.configuration.DefaultRenderingConfiguration;
import org.xwiki.rendering.macro.Macro;
import org.xwiki.rendering.macro.MacroCategoriesManager;
import org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor;
import org.xwiki.rendering.parser.Syntax;
import org.xwiki.test.AbstractComponentTestCase;
public class DefaultMacroCategoriesManagerTest extends AbstractComponentTestCase
{
private MacroCategoriesManager macroCategoriesManager;
private Mockery context = new Mockery();
@Before
