public void GenerateResult_GetHeroResult() { _generator.Generate( _codeWriter, IntegrationDescriptors.CreateGetHeroResultDescriptor(), out _); _stringBuilder.ToString().MatchSnapshot(); }
public void GenerateEntityWithOneValueTypeProperty() { _generator.Generate( _codeWriter, new NamedTypeDescriptor( "Foo", "FooBarNamespace", false, properties: new[] { TestHelper.GetNamedNonNullStringTypeReference("SomeText"), }), out _); _stringBuilder.ToString().MatchSnapshot(); }