use of com.google.api.generator.engine.ast.EmptyLineStatement in project gapic-generator-java by googleapis.
the class JavaWriterVisitorTest method writeEmptyLineStatement.
@Test
public void writeEmptyLineStatement() {
EmptyLineStatement statement = EmptyLineStatement.create();
statement.accept(writerVisitor);
assertEquals("\n", writerVisitor.write());
}
use of com.google.api.generator.engine.ast.EmptyLineStatement in project gapic-generator-java by googleapis.
the class ImportWriterVisitorTest method writeEmptyLineStatementImports.
@Test
public void writeEmptyLineStatementImports() {
EmptyLineStatement statement = EmptyLineStatement.create();
statement.accept(writerVisitor);
assertThat(writerVisitor.write()).isEmpty();
}
Aggregations