public async Task TestGetAll() { var result = await _jsonHardwareProvider.GetAll(); Assert.All(result, item => Assert.True(item.HashRate > 0)); }
public async Task <List <MiningDevice> > GetAll() { return(await jsonHardwareProvider.GetAll()); }