public void Should_be_able_to_find_a_type_from_endpoint_attribute() { Type generatedType = new ApiEndpointTypeGenerator().GenerateType("artist/releases"); Assert.That(Activator.CreateInstance(generatedType), Is.TypeOf<ArtistReleases>()); }
public void Should_be_able_to_find_a_type_from_endpoint_attribute() { Type generatedType = new ApiEndpointTypeGenerator().GenerateType("artist/releases"); Assert.That(Activator.CreateInstance(generatedType), Is.TypeOf <ArtistReleases>()); }