public class TestSourceRepositoriesPanel extends TestBase {
@Test
@SuppressWarnings("serial")
public void testRenderPanel() {
tester.startPanel(new TestPanelSource() {
public Panel getTestPanel(String panelId) {
try {
IProject project = SimalRepositoryFactory.getProjectService().getProject(projectURI);
ReadOnlyStyleBehavior rosb = new EditProjectPanel(panelId, project).new ReadOnlyStyleBehavior();
return new SourceRepositoriesPanel(panelId, "Source Repositories", project.getRepositories(), rosb, project);