public void ReadableTypeOutputFactory_GetTypeDeclaration_InheritedGenericClass() { ReadableTypeOutputFactory.GetTypeDeclarationString(typeof(SomeStringList)) .Should().NotBeNullOrWhiteSpace() .And.BeEquivalentTo("public class CloudNimble.Breakdance.Tests.Assemblies.SampleApis.SomeStringList : System.Collections.Generic.List`1<string>, ICollection, IEnumerable, " + "IList, ICollection`1, IEnumerable`1, IList`1, IReadOnlyCollection`1, IReadOnlyList`1"); }
public void ReadableTypeOutputFactory_GetTypeDeclaration_GenericClass() { ReadableTypeOutputFactory.GetTypeDeclarationString(typeof(SomeGenericClass <string>)) .Should().NotBeNullOrWhiteSpace() #if NETCOREAPP3_1 .And.BeEquivalentTo("public class CloudNimble.Breakdance.Tests.Assemblies.SampleApis.SomeGenericClass`1<System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e>");
public void ReadableTypeOutputFactory_GetTypeDeclaration_StaticClass() { ReadableTypeOutputFactory.GetTypeDeclarationString(typeof(SomeStaticClass)) .Should().NotBeNullOrWhiteSpace() .And.BeEquivalentTo("public sealed class CloudNimble.Breakdance.Tests.Assemblies.SampleApis.SomeStaticClass"); }