Example #1
0
        public void ReadValue_reads_Id_field()
        {
            var testModel = new TestModel2
            {
                Id = 5
            };

            var id = IdReader.ReadValue(testModel);
            id.Should().Be(testModel.Id);
        }
		public IHttpActionResult TestModel2(TestModel2 model) {
			return OutputErrors();
		}