diff --git a/tests/org.jboss.tools.aesh.ui.test/src/org/jboss/tools/aesh/ui/internal/document/StyleImplTest.java b/tests/org.jboss.tools.aesh.ui.test/src/org/jboss/tools/aesh/ui/internal/document/StyleImplTest.java index da1003b5a..27b5c70a0 100644 --- a/tests/org.jboss.tools.aesh.ui.test/src/org/jboss/tools/aesh/ui/internal/document/StyleImplTest.java +++ b/tests/org.jboss.tools.aesh.ui.test/src/org/jboss/tools/aesh/ui/internal/document/StyleImplTest.java @@ -339,4 +339,12 @@ public void testGetStart() { Assert.assertEquals(999, testStyleImpl.getStart()); } + @Test + public void testGetDefault() { + StyleImpl style = StyleImpl.getDefault(); + Assert.assertEquals(FontManager.INSTANCE.getDefault(), style.styleRange.font); + Assert.assertEquals(ColorConstants.BLACK, style.styleRange.foreground); + Assert.assertEquals(ColorConstants.WHITE, style.styleRange.background); + } + }