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

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