### Question:
InverseDefinitionParser implements DefinitionParser { @Override public Pattern pattern() { return pattern; }  @Override Pattern pattern(); @Override ViewProperty getViewProperty(String definition, ViewProperty.Factory factory);  }### Answer:
@Test public void pattern_startsWithTilde() { String pattern = parser.pattern().pattern(); assertEquals("^~(.+)$", pattern); }