Move methods to ReflectUtils class
Update test to remove moved method.