Index: trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTest.java	(revision 19539)
+++ trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTest.java	(revision 19565)
@@ -14,5 +14,7 @@
 import java.util.stream.Stream;
 
+import javax.swing.JLabel;
 import javax.swing.JOptionPane;
+import javax.swing.JPanel;
 import javax.swing.JScrollPane;
 
@@ -174,3 +176,21 @@
         assertEquals("Plugin information", invocationLogEntry[2]);
     }
+
+    /**
+     * Unit test of {@link PluginHandler#getInfoPanel}.
+     */
+    @Test
+    void testGetInfoPanel() {
+        JPanel panel = PluginHandler.getInfoPanel();
+        assertNotNull(panel);
+
+        assertTrue(PluginHandler.getPlugins().isEmpty());
+
+        // if no plugins are loaded in the test environment, the panel should show "No plugins installed"
+        boolean found = Arrays.stream(panel.getComponents())
+            .filter(JLabel.class::isInstance)
+            .map(JLabel.class::cast)
+            .anyMatch(l -> l.getText().equals("No plugins installed"));
+        assertTrue(found, "Should find 'No plugins installed' label");
+    }
 }
