@Test
public void testConversionToQuantityType() {

    assertEquals(new QuantityType<>("100 %"), PercentType.HUNDRED.as(QuantityType.class));
    assertEquals(new QuantityType<>("1 one"),
            ((QuantityType<?>) PercentType.HUNDRED.as(QuantityType.class)).toUnit(SmartHomeUnits.ONE));
}