public async void GetDeviceGroupEventSources() { var deviceGroup = await PortalClient.GetDeviceGroupByFullPathAsync(DeviceGroupFullPath).ConfigureAwait(false); Assert.NotNull(deviceGroup); var eventGroupDataSources = await PortalClient.GetAllDeviceGroupEventSourcesAsync(deviceGroup.Id).ConfigureAwait(false); Assert.NotEmpty(eventGroupDataSources); }