@Test
public void method() throws Exception {

  FileContextTestImpl fileContext = new FileContextTestImpl();
  methodWriter("name", "java.lang.String", fileContext).write();
  assertThat(fileContext.getRes())
      .isEqualTo(INDENT + "String name();" + LINE_SEPARATOR);
}