public async Task Getitems_should_return_right_data() { ItemService itemService = new ItemService(_itemRespository, _genreRespository, _artistRespository, _itemMapper, _logger.Object); System.Collections.Generic.IEnumerable <ItemResponse> result = await itemService.GetItemsAsync(); result.ShouldNotBeNull(); }
public async Task should_get_data() { System.Collections.Generic.IEnumerable <Item> result = await _itemRespository.GetAsync(); result.ShouldNotBeNull(); }