def METHOD_NAME(self, prefs_stub, config_storage):
    prefs_stub.set_server_configs(
        [
            {
                "id": "myid1",
                "myadditional_key": "some",
                "name": "MyServer1",
                "address": "127.0.0.1:4412",
                "devices": [
                    {"id": "cpu0", "attr2": 12, "name": "CPU0", "enabled": False},
                    {"id": "gpu1", "name": "MyCoolGPU", "enabled": True},
                ],
            }
        ]
    )
    servers = config_storage.get_servers()
    assert 1 == len(servers)
    srv = servers[0]
    assert isinstance(srv, types.ServerConfig)
    assert "MyServer1" == srv.name
    assert "127.0.0.1:4412" == srv.address