public void testBindingWithType() throws Throwable
{
PolicyMetaData policy = unmarshal("BindingWithType.xml", AbstractPolicyMetaData.class);
assertFalse(policy.getBindings().isEmpty());
assertEquals(1, policy.getBindings().size());
BindingMetaData binding = policy.getBindings().iterator().next();
assertNotNull(binding.getName());
assertNotNull(binding.getValue());
assertInstanceOf(binding.getValue(), StringValueMetaData.class);
assertEquals(Integer.class.getName(), binding.getType());
}