I think it would be great if there would exist an IModuleClient and IDeviceClient interface, which would then be implemented by the ModuleClient and DeviceClient classes.
This would allow developers to easily test code / classes that have a dependency on those classes. Instead of directly injecting ModuleClient, one could inject IModuleClient and pass in a stub or mock in unit-tests.
I think it would be great if there would exist an
IModuleClientandIDeviceClientinterface, which would then be implemented by theModuleClientandDeviceClientclasses.This would allow developers to easily test code / classes that have a dependency on those classes. Instead of directly injecting ModuleClient, one could inject
IModuleClientand pass in a stub or mock in unit-tests.