public async Task CanGetEffectsBySubCategory() { var expectedEffects = new List <Effect>(); _effectRepository.GetBySubCategoryWithModifiersAsync(42) .Returns(expectedEffects); var effects = await _effectService.GetEffectsBySubCategoryAsync(42); effects.Should().BeSameAs(expectedEffects); }