public void GetApiOperationType_ReturnsCorrectType_AttributeTypeIsNullAndReturnTypeIsArrayOfInt64()
		{
			var apiDocumentationAttribute = new ApiDocumentationAttribute( null, null, null );

			var result = _typeToStringConverter.GetApiOperationType( apiDocumentationAttribute.ReturnType ?? typeof ( Int64[] ) );

			Assert.That( result == String.Format( "array[{0}]", typeof ( Int64 ).Name ) );
		}
		public void GetApiOperationType_ReturnsCorrectType_AttributeTypeIsNullAndReturnTypeIsString()
		{
			var apiDocumentationAttribute = new ApiDocumentationAttribute( null, null, null );

			var result = _typeToStringConverter.GetApiOperationType( apiDocumentationAttribute.ReturnType ?? typeof ( String ) );

			Assert.That( result == typeof ( String ).Name );
		}
		public void GetApiOperationType_ReturnsCorrectType_WhenTypeIsNullableBoolean()
		{
			var apiDocumentationAttribute = new ApiDocumentationAttribute( null, null, null );

			var result = _typeToStringConverter.GetApiOperationType( apiDocumentationAttribute.ReturnType ?? typeof ( Boolean? ) );

			Assert.That( result == typeof ( Boolean ).Name );
		}
		public void GetApiOperationType_ReturnsCorrectType_AttributeTypeIsListOfInt16()
		{
			var apiDocumentationAttribute = new ApiDocumentationAttribute( null, null, typeof ( List<Int16> ) );

			var result = _typeToStringConverter.GetApiOperationType( apiDocumentationAttribute.ReturnType );

			Assert.That( result == String.Format( "array[{0}]", typeof ( Int16 ).Name ) );
		}