Пример #1
0
        public async Task GetEntityAsync()
        {
            await _sut.AddAsync(new Description
            {
                Template = nameof(GetEntityAsync)
            });

            await _unitOfWork.CommitAsync();

            var entity = await _sut.GetAllAsync(x => x.Template == nameof(GetEntityAsync));

            entity.Should().BeAssignableTo <Description>()
            .And.NotBeNull();
        }