Testing Settings Display

What approach do you use to write unit tests related to a plugin’s settings? For example, if you want to test that the UI items get rendered in a particular order?