コード例 #1
0
        public async Task GetById()
        {
            //Arrange
            var expected = 1;
            //Act
            var result = await _service.GetById(expected);

            //Assert
            result.Should().NotBeNull();
            result.Should().BeAssignableTo <OptionModelExtended>();
            result.Id.Should().Be(expected);
        }