Search in sources :

Example 1 with BreakStatement

use of com.google.api.generator.engine.ast.BreakStatement in project gapic-generator-java by googleapis.

the class JavaWriterVisitorTest method writeBreakStatement.

@Test
public void writeBreakStatement() {
    BreakStatement statement = BreakStatement.create();
    statement.accept(writerVisitor);
    assertEquals("break;", writerVisitor.write());
}
Also used : BreakStatement(com.google.api.generator.engine.ast.BreakStatement) Test(org.junit.Test)

Aggregations

BreakStatement (com.google.api.generator.engine.ast.BreakStatement)1 Test (org.junit.Test)1