@Test public void viewProperty_toString_PrefixesWithTilde() { when(vp.toString()).thenReturn("defn"); String result = getViewProperty().toString(); assertEquals("~defn", result); }
@Override public ViewProperty getViewProperty(String definition, ViewProperty.Factory factory) { ViewProperty vp = factory.getImpl(definition); return new InverseProperty(vp); }
InverseDefinitionParser implements DefinitionParser { @Override public ViewProperty getViewProperty(String definition, ViewProperty.Factory factory) { ViewProperty vp = factory.getImpl(definition); return new InverseProperty(vp); } }
InverseDefinitionParser implements DefinitionParser { @Override public ViewProperty getViewProperty(String definition, ViewProperty.Factory factory) { ViewProperty vp = factory.getImpl(definition); return new InverseProperty(vp); }  }
InverseDefinitionParser implements DefinitionParser { @Override public ViewProperty getViewProperty(String definition, ViewProperty.Factory factory) { ViewProperty vp = factory.getImpl(definition); return new InverseProperty(vp); }  @Override Pattern pattern(); @Override ViewProperty getViewProperty(String definition, ViewProperty.Factory factory); }
InverseDefinitionParser implements DefinitionParser { @Override public ViewProperty getViewProperty(String definition, ViewProperty.Factory factory) { ViewProperty vp = factory.getImpl(definition); return new InverseProperty(vp); }  @Override Pattern pattern(); @Override ViewProperty getViewProperty(String definition, ViewProperty.Factory factory);  }