Bug 1065279 - [settings] refactor Hotspot panel with AMD pattern

The major functionality of this module would be setting SSID, security, and password. And then the settings changes should reflect to the property correctly. We could use white-box testing or black-box testing. Depending on the implementation there are pros and cons of each approach.
The approach you use here is similar to white-box testing but does not cover the major functionality described above. So the test cases of the other parts in the calling path should be added.
If you would like to use black-box testing, you could observe one of the property and call to the setter of it. Ensuring the registered callback is trigged with the correct value.