@Test
public void createNumberItemWithDimension() {

    NumberItem numberItem = (NumberItem) coreItemFactory.createItem(CoreItemFactory.NUMBER + ":Temperature",
            "myNumberItem");
    assertThat(numberItem.getDimension(), equalTo(Temperature.class));
}