예제 #1
0
        public void Should_Normalize_Nested_Dtos()
        {
            var input = new MyMethod7Input
            {
                Inner = new MyMethod7Input.MyMethod7InputInner
                {
                    Value = 10
                }
            };

            _myAppService.MyMethod7(input);

            input.Inner.Value.ShouldBe(12);
        }
예제 #2
0
 public MyMethodOutput MyMethod7(MyMethod7Input input)
 {
     return(new MyMethodOutput {
         Result = 42
     });
 }