TestReflection::setValue

Helper method that sets a protected or private property in a class by relfection.