Bumped package version to 1.4.5 and modified ClientGenerator to include System.Net assembly as a DotNet type.
This commit is contained in:
23
Rest.Net.Tests/RestClientGeneratorTests.cs
Normal file
23
Rest.Net.Tests/RestClientGeneratorTests.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
using FluentAssertions;
|
||||
using MontoyaTech.Rest.Net;
|
||||
using System.Net;
|
||||
|
||||
namespace Rest.Net.Tests
|
||||
{
|
||||
public class RestClientGeneratorTests
|
||||
{
|
||||
[Fact]
|
||||
public void RestClientGenerator_HttpStatusCode_Should_BeSystemType()
|
||||
{
|
||||
var generator = new RestClientGenerator();
|
||||
|
||||
generator.IsTypeDotNet(typeof(HttpStatusCode)).Should().BeTrue();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user