@Test public void interfacePath() { final String name = "Book"; MatcherAssert.assertThat( new JavaInterface( name, new StickyList<>() ).path(), Matchers.equalTo( new UncheckedText( new FormattedText( "%s.java", name ) ).asString() ) ); }
@Override public String path() { return new UncheckedText( new FormattedText("%s.java", this.name) ).asString(); }
JavaInterface implements JavaFile { @Override public String path() { return new UncheckedText( new FormattedText("%s.java", this.name) ).asString(); } }
JavaInterface implements JavaFile { @Override public String path() { return new UncheckedText( new FormattedText("%s.java", this.name) ).asString(); } JavaInterface(final String name, final Collection<Method> methods); }
JavaInterface implements JavaFile { @Override public String path() { return new UncheckedText( new FormattedText("%s.java", this.name) ).asString(); } JavaInterface(final String name, final Collection<Method> methods); @Override String path(); @Override Input code(); }
JavaInterface implements JavaFile { @Override public String path() { return new UncheckedText( new FormattedText("%s.java", this.name) ).asString(); } JavaInterface(final String name, final Collection<Method> methods); @Override String path(); @Override Input code();  }