public void Setup()
 {
     mediatorMock     = new Mock <IMediator>();
     controller       = new NativeDesktopMemoryAndStorageController(mediatorMock.Object);
     simpleResultMock = new Mock <ISimpleResult>();
     simpleResultMock.Setup(r => r.IsValid).Returns(() => !resultDictionary.Any());
     simpleResultMock.Setup(r => r.ToDictionary()).Returns(() => resultDictionary);
     resultDictionary = new Dictionary <string, string>();
     mediatorMock
     .Setup(m => m.Send(It.IsAny <UpdateNativeDesktopMemoryAndStorageCommand>(), It.IsAny <CancellationToken>()))
     .ReturnsAsync(() => simpleResultMock.Object);
 }