Index: trunk/test/unit/org/openstreetmap/josm/data/ProjectionBoundsTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/ProjectionBoundsTest.java	(revision 10300)
+++ trunk/test/unit/org/openstreetmap/josm/data/ProjectionBoundsTest.java	(revision 10300)
@@ -0,0 +1,20 @@
+// License: GPL. For details, see LICENSE file.
+package org.openstreetmap.josm.data;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
+
+/**
+ * Unit tests for class {@link ProjectionBounds}.
+ */
+public class ProjectionBoundsTest {
+
+    /**
+     * Unit test of {@link ProjectionBounds#toString}
+     */
+    @Test
+    public void testToString() {
+        assertEquals("ProjectionBounds[1.0,2.0,3.0,4.0]", new ProjectionBounds(1, 2, 3, 4).toString());
+    }
+}
Index: trunk/test/unit/org/openstreetmap/josm/data/VersionTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/VersionTest.java	(revision 10300)
+++ trunk/test/unit/org/openstreetmap/josm/data/VersionTest.java	(revision 10300)
@@ -0,0 +1,35 @@
+// License: GPL. For details, see LICENSE file.
+package org.openstreetmap.josm.data;
+
+import static org.junit.Assert.assertTrue;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.openstreetmap.josm.JOSMFixture;
+
+/**
+ * Unit tests for class {@link Version}.
+ */
+public class VersionTest {
+
+    /**
+     * Setup test.
+     */
+    @BeforeClass
+    public static void setUpBeforeClass() {
+        JOSMFixture.createUnitTestFixture().init();
+    }
+
+    /**
+     * Unit test of {@link Version#getAgentString}
+     */
+    @Test
+    public void testGetAgentString() {
+        String v = Version.getInstance().getAgentString(false);
+        assertTrue(v.startsWith("JOSM/1.5 ("));
+        assertTrue(v.endsWith(" en)"));
+        v = Version.getInstance().getAgentString(true);
+        assertTrue(v.startsWith("JOSM/1.5 ("));
+        assertTrue(v.contains(" en) "));
+    }
+}
Index: trunk/test/unit/org/openstreetmap/josm/gui/dialogs/layer/LayerVisibilityActionTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/dialogs/layer/LayerVisibilityActionTest.java	(revision 10299)
+++ trunk/test/unit/org/openstreetmap/josm/gui/dialogs/layer/LayerVisibilityActionTest.java	(revision 10300)
@@ -48,4 +48,5 @@
             action.updateValues();
             assertEquals(1.0, action.opacitySlider.getRealValue(), 1e-15);
+            assertEquals("OpacitySlider [getRealValue()=1.0]", action.opacitySlider.toString());
 
             action.opacitySlider.setRealValue(.5);
@@ -53,4 +54,5 @@
 
             assertEquals(0.5, action.opacitySlider.getRealValue(), 1e-15);
+            assertEquals("OpacitySlider [getRealValue()=0.5]", action.opacitySlider.toString());
 
             action.setVisibleFlag(false);
Index: trunk/test/unit/org/openstreetmap/josm/gui/layer/ImageryLayerTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/layer/ImageryLayerTest.java	(revision 10300)
+++ trunk/test/unit/org/openstreetmap/josm/gui/layer/ImageryLayerTest.java	(revision 10300)
@@ -0,0 +1,35 @@
+// License: GPL. For details, see LICENSE file.
+package org.openstreetmap.josm.gui.layer;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.openstreetmap.josm.JOSMFixture;
+
+/**
+ * Unit tests of {@link ImageryLayer} class.
+ */
+public class ImageryLayerTest {
+
+    /**
+     * Setup tests
+     */
+    @BeforeClass
+    public static void setUpBeforeClass() {
+        JOSMFixture.createUnitTestFixture().init(true);
+    }
+
+    /**
+     * Unit test of {@link ImageryLayer.ColorfulImageProcessor#toString}
+     *          and {@link ImageryLayer.GammaImageProcessor#toString()}.
+     *          and {@link ImageryLayer.SharpenImageProcessor#toString()}.
+     */
+    @Test
+    public void testToString() {
+        ImageryLayer layer = TMSLayerTest.createTmsLayer();
+        assertEquals("ColorfulImageProcessor [colorfulness=1.0]", layer.collorfulnessImageProcessor.toString());
+        assertEquals("GammaImageProcessor [gamma=1.0]", layer.gammaImageProcessor.toString());
+        assertEquals("SharpenImageProcessor [sharpenLevel=1.0]", layer.sharpenImageProcessor.toString());
+    }
+}
Index: trunk/test/unit/org/openstreetmap/josm/gui/layer/MapViewPaintableTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/layer/MapViewPaintableTest.java	(revision 10300)
+++ trunk/test/unit/org/openstreetmap/josm/gui/layer/MapViewPaintableTest.java	(revision 10300)
@@ -0,0 +1,31 @@
+// License: GPL. For details, see LICENSE file.
+package org.openstreetmap.josm.gui.layer;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.openstreetmap.josm.JOSMFixture;
+import org.openstreetmap.josm.gui.layer.MapViewPaintable.PaintableInvalidationEvent;
+
+/**
+ * Unit tests of {@link MapViewPaintable} class.
+ */
+public class MapViewPaintableTest {
+
+    /**
+     * Setup tests
+     */
+    @BeforeClass
+    public static void setUpBeforeClass() {
+        JOSMFixture.createUnitTestFixture().init();
+    }
+
+    /**
+     * Unit test of {@link MapViewPaintable.PaintableInvalidationEvent#toString}
+     */
+    @Test
+    public void testToString() {
+        assertEquals("LayerInvalidationEvent [layer=null]", new PaintableInvalidationEvent(null).toString());
+    }
+}
