File tree Expand file tree Collapse file tree
main/java/com/google/api/generator/gapic/composer
test/java/com/google/api/generator/gapic/composer/goldens Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ private static List<Statement> createClassMemberFieldDecls(
186186 ExprStatement .withExpr (
187187 v .toBuilder ()
188188 .setIsDecl (true )
189- .setScope (ScopeNode .PUBLIC )
189+ .setScope (ScopeNode .PRIVATE )
190190 .setIsStatic (v .type ().reference ().name ().startsWith ("Mock" ))
191191 .build ()))
192192 .collect (Collectors .toList ());
Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ import org.junit.Test;
3737
3838@Generated("by gapic-generator-java")
3939public class EchoClientTest {
40- public static MockServiceHelper mockServiceHelper;
41- public static MockEcho mockEcho;
42- public EchoClient client;
43- public LocalChannelProvider channelProvider;
40+ private static MockServiceHelper mockServiceHelper;
41+ private static MockEcho mockEcho;
42+ private EchoClient client;
43+ private LocalChannelProvider channelProvider;
4444
4545 @BeforeClass
4646 public static void startStaticServer() {
You can’t perform that action at this time.
0 commit comments