Hinged object: Trying to verify functionality of hinged object with multiple pivot locations

I am trying to design a workbench that can be hinged so as to store in the up position. I can rotate the components individually to try and verify conflicts, but, I would hope that there is a function where I can collectively move them. Thoughts?