コード例 #1
0
        public async Task Label_Put_ShouldReturnData()
        {
            var model = new LabelManageModel
            {
                Id   = DefaultLabel,
                Name = "New name"
            };
            var results = await _controller.Put(model);

            results
            .Should().BeOfType <OkObjectResult>()
            .Which.Value.Should().BeAssignableTo <LabelManageModel>()
            .Which.Should().NotBeNull();
        }