Search in sources :

Example 1 with TextNoWrap

use of com.ait.lienzo.client.core.shape.TextNoWrap in project kie-wb-common by kiegroup.

the class TextWrapperProviderTest method testNoWrap.

@Test
public void testNoWrap() {
    final ITextWrapper wrapper = TextWrapperProvider.get(TextWrapperStrategy.NO_WRAP, text);
    assertTrue(wrapper instanceof TextNoWrap);
}
Also used : TextNoWrap(com.ait.lienzo.client.core.shape.TextNoWrap) ITextWrapper(com.ait.lienzo.client.core.shape.ITextWrapper) Test(org.junit.Test)

Aggregations

ITextWrapper (com.ait.lienzo.client.core.shape.ITextWrapper)1 TextNoWrap (com.ait.lienzo.client.core.shape.TextNoWrap)1 Test (org.junit.Test)1