Example #1
0
        public void ReadValue_reads_underscore_id_field()
        {
            var _id       = 1000.0;
            var testModel = new TestModel6(_id);

            var id = IdReader.ReadValue(testModel);

            id.Should().Be(_id);
        }
Example #2
0
 public ActionResult Test6(TestModel6 test)
 {
     return(TestResult());
 }
		public IHttpActionResult TestModel6(TestModel6 model) {
			return OutputErrors();
		}
Example #4
0
        public void ReadValue_reads_underscore_id_field()
        {
            var _id = 1000.0;
            var testModel = new TestModel6(_id);

            var id = IdReader.ReadValue(testModel);
            id.Should().Be(_id);
        }