Added TypeHelper_Tests

pull/395/head
Yunus Emre Kalkan 7 years ago
parent 1bbaefa34b
commit b3ccf2c11f

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Text;
using Shouldly;
using Xunit;
namespace Volo.Abp.Reflection
{
public class TypeHelper_Tests
{
[Fact]
public void Should_Generic_Type_From_Nullable()
{
var nullableType = typeof(Guid?);
var guidType = nullableType.GetFirstGenericArgumentIfNullable();
guidType.ShouldBe(typeof(Guid));
}
}
}
Loading…
Cancel
Save