@Test
public void appendParamValues_with_only_one_parameter() throws Exception {

  FileContextTestImpl fileContext = new FileContextTestImpl();
  methodWriter(fileContext).appendParamValues(
      Collections.singletonList(
          DAParameterImpl.builder(DANameFactory.from("param"), DATypeFactory.from(String.class))
                     .build()
      )
  );
  assertThat(fileContext.getRes()).isEqualTo("(param)");
}