Exemplo n.º 1
0
        public async Task GetUpgraded()
        {
            var logger       = new Mock <ILogger>();
            var rpc          = new OmvHttpService(logger.Object, new LocalIHttpClient());
            var omvAptClient = new OmvAptClient(rpc);

            Assert.IsNotNull(omvAptClient);
            var result = await omvAptClient.GetUpgraded();

            Assert.IsNotNull(result);
        }
 public Task <IEnumerable <Upgraded> > GetUpgraded()
 {
     return(_omvAptClient.GetUpgraded());
 }