public void ShouldConvertToInteger()
 {
     Assert.AreEqual("integer", Raml1TypeMapper.Map(typeof(int)));
 }
 public void ShouldConvertToNumber_WhenNullableFloat()
 {
     Assert.AreEqual("number", Raml1TypeMapper.Map(typeof(float?)));
 }
 public void ShouldConvertToString_WhenNullableDateTime()
 {
     Assert.AreEqual("date", Raml1TypeMapper.Map(typeof(DateTime?)));
 }
 public void ShouldConvertToBoolean_WhenNullable()
 {
     Assert.AreEqual("boolean", Raml1TypeMapper.Map(typeof(bool?)));
 }
 public void ShouldConvertToNumber_WhenNullableDecimal()
 {
     Assert.AreEqual("number", Raml1TypeMapper.Map(typeof(decimal?)));
 }
 public void ShouldConvertToFile_WhenByteArray()
 {
     Assert.AreEqual("file", Raml1TypeMapper.Map(typeof(byte[])));
 }
 public void ShouldConvertToInteger_WhenNullable()
 {
     Assert.AreEqual("integer", Raml1TypeMapper.Map(typeof(int?)));
 }
 public void ShouldConvertToBoolean()
 {
     Assert.AreEqual("boolean", Raml1TypeMapper.Map(typeof(bool)));
 }
 public void ShouldConvertToString()
 {
     Assert.AreEqual("string", Raml1TypeMapper.Map(typeof(string)));
 }
 public void ShouldConvertToDatetime_WhenNullableDateTime()
 {
     Assert.Equal("datetime", Raml1TypeMapper.Map(typeof(DateTime?)));
 }
 public void ShouldConvertToNumber_WhenFloat()
 {
     Assert.Equal("number", Raml1TypeMapper.Map(typeof(float)));
 }
 public void ShouldConvertToNumber_WhenDecimal()
 {
     Assert.Equal("number", Raml1TypeMapper.Map(typeof(decimal)));
 }