def test_to_dict_basic(self):
        """Method to test the ConfigPropertyObject class"""
        a = ConfigPropertyObject("propA", {
            "a": 2,
            "b": "asdf"
        }, {
            "a": "This is an A thing",
            "b": "This is a B thing"
        })
        props = a.to_dict()

        assert props["propA"]["a"] == 2
        assert props["propA"]["b"] == "asdf"
    def test_to_dict_compound(self):
        """Method to test the ConfigPropertyObject class"""
        cpo = ConfigPropertyObject("client", {
            "a": 2,
            "b": "asdf"
        }, "This is a thing")
        cpo.add_property_object(
            ConfigPropertyObject("intro", {
                "a": 5,
                "b": "fdsa"
            }, "This is a thing 2"))
        props = cpo.to_dict()

        assert props["client"]["a"] == 2
        assert props["client"]["b"] == "asdf"
        assert props["client"]["intro"]["a"] == 5
        assert props["client"]["intro"]["b"] == "fdsa"