Exemplo n.º 1
0
        public async Task GetEffect_LoadEffectFromDatabase()
        {
            var expectedEffect = new Effect();

            _effectRepository.GetWithModifiersAsync(42)
            .Returns(expectedEffect);

            var effect = await _effectService.GetEffectAsync(42);

            effect.Should().BeSameAs(expectedEffect);
        }