def test_collection_of_interfaces_map_of_structs(): for elt in InterfaceCollections.map_of_structs().values(): assert getattr(elt, 'required_string') is not None
def test_collection_of_interfaces_map_of_interfaces(): for elt in InterfaceCollections.map_of_interfaces().values(): assert getattr(elt, "ring") is not None
def test_collection_of_interfaces_list_of_interfaces(): for elt in InterfaceCollections.list_of_interfaces(): assert getattr(elt, "ring") is not None