public void for_throws_if_property_is_not_decorated_with_property_id_attribute()
{
Assert.Throws<SerializationException>(() => { PropertyDescriptor.For(typeof(string).GetProperty("Length")); });
Assert.Throws<SerializationException>(() => { PropertyDescriptor.For(typeof(TypeWithUndecoratedProperty).GetProperty("Property")); });
}