@SuppressWarnings("null")
@Test
public void testStripUnitPlaceholderFromPlainNumberItem() {

    NumberItem item = new NumberItem("Number", ITEM_NAME);
    item.setStateDescriptionService(stateDescriptionService);
    assertThat(item.getStateDescription().getPattern(), is("%.1f"));
}