import static org.mockito.Mockito.mock;
import java.util.List;</BUG>
import org.junit.Test;
import org.sonar.api.platform.ServerFileSystem;
import org.sonar.api.rules.Rule;
<BUG>import org.sonar.api.rules.XMLRuleParser;
public class PmdRuleRepositoryTest {</BUG>
@Test
public void testLoadRepositoryFromXml() {
ServerFileSystem fileSystem = mock(ServerFileSystem.class);

import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class PmdRuleRepositoryTest {
@Test
public void testLoadRepositoryFromXml() {
ServerFileSystem fileSystem = mock(ServerFileSystem.class);
