TemplateInitializer { public Set<String> getTwoWayBindingPaths() { return parserData.getTwoWayBindingPaths(); } @SuppressWarnings("unchecked")  TemplateInitializer(PolymerTemplate<?> template,
            TemplateParser parser, VaadinService service); void initChildElements(); Set<String> getTwoWayBindingPaths(); static Optional<Class<? extends Component>> getUsesClass(
            Class<? extends PolymerTemplate<?>> templateType, String tagName);  }
@Test public void twoWayBindingPaths() { Set<String> twoWayBindingPaths = new TemplateInitializer( new OutsideTemplateClass(), templateParser, service) .getTwoWayBindingPaths(); Assert.assertEquals( new HashSet<>(Arrays.asList("twoWay", "two.way", "withEvent")), twoWayBindingPaths); }