@Test
public void filename() throws IOException {

  String filename = "filename";
  TemplateSource source = createMock(TemplateSource.class);
  expect(source.filename()).andReturn(filename);
  replay(source);
  assertEquals("filename", new ForwardingTemplateSource(source).filename());
  verify(source);
}