private static object CreateDeviceState()
 {
     var pluginId = Guid.NewGuid();
     var controls = new PluginControlEntryDictionary();
     var controlEntry = new ControlEntry(
         Guid.NewGuid(),
         new Control("1", "name1", new[] { "action1" }, new[] { "action2" }));
     controls[pluginId].Add(controlEntry);
     var devices = new DeviceEntryList
     {
         new DeviceEntry(Guid.NewGuid(), "device1", new[] {controlEntry})
     };
     return new DeviceStoreState(devices, controls);
 }
 public DevicePluginControlDictionaryBuilder(DeviceEntryList devices, PluginControlEntryDictionary controls)
 {
     Devices = devices;
     Controls = controls;
 }