@Test
public void testTypedProperties() throws Exception {

   SimpleString longKey = RandomUtil.randomSimpleString();
   long longValue = RandomUtil.randomLong();
   SimpleString simpleStringKey = RandomUtil.randomSimpleString();
   SimpleString simpleStringValue = RandomUtil.randomSimpleString();
   TypedProperties otherProps = new TypedProperties();
   otherProps.putLongProperty(longKey, longValue);
   otherProps.putSimpleStringProperty(simpleStringKey, simpleStringValue);
   props.putTypedProperties(otherProps);
   long ll = props.getLongProperty(longKey);
   Assert.assertEquals(longValue, ll);
   SimpleString ss = props.getSimpleStringProperty(simpleStringKey);
   Assert.assertEquals(simpleStringValue, ss);
}