DAStatementWriter extends AbstractDAWriter<T> { public DAStatementWriter<T> appendTypeArgs(List<DAType> typeArgs) throws IOException { commons.appendTypeArgs(typeArgs); return this; } DAStatementWriter(FileContext fileContext, T parent, int indentOffset);   DAStatementWriter(CommonMethods commonMethods, T parent); DAStatementWriter<T> start(); DAStatementWriter<T> append(CharSequence s); DAStatementWriter<T> append(char c); DAStatementWriter<T> appendType(DAType type); DAStatementWriter<T> appendTypeArgs(List<DAType> typeArgs); DAStatementWriter<T> appendParamValues(@Nonnull List<DAParameter> params,
                                                @Nullable Function<DAParameter, String> parameterNameFunction); DAStatementWriter<T> appendParamValues(@Nonnull List<DAParameter> params); T end();  }
@Test public void appendTypeArgs_delegates_to_CommonMethods() throws Exception { FileContextTestImpl fileContext = new FileContextTestImpl(); List<DAType> daTypes = ImmutableList.of(DATypeFactory.from(String.class)); methodWriterWithMock(fileContext).appendTypeArgs(daTypes); verify(commonMethods).appendTypeArgs(daTypes); verifyNoInteraction(fileContext); }