Index: trunk/test/unit/org/openstreetmap/josm/gui/history/CoordinateInfoViewerTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/history/CoordinateInfoViewerTest.java	(revision 9454)
+++ trunk/test/unit/org/openstreetmap/josm/gui/history/CoordinateInfoViewerTest.java	(revision 9454)
@@ -0,0 +1,28 @@
+// License: GPL. For details, see LICENSE file.
+package org.openstreetmap.josm.gui.history;
+
+import static org.junit.Assert.assertNotNull;
+
+import org.junit.Test;
+
+/**
+ * Unit tests of {@link CoordinateInfoViewer} class.
+ */
+public class CoordinateInfoViewerTest {
+
+    /**
+     * Test for {@link CoordinateInfoViewer#CoordinateInfoViewer} - {@code null} handling.
+     */
+    @Test(expected = IllegalArgumentException.class)
+    public void testCoordinateInfoViewerNull() {
+        new CoordinateInfoViewer(null);
+    }
+
+    /**
+     * Test for {@link CoordinateInfoViewer#CoordinateInfoViewer} - nominal case.
+     */
+    @Test
+    public void testCoordinateInfoViewerNominal() {
+        assertNotNull(new CoordinateInfoViewer(new HistoryBrowserModel()));
+    }
+}
