@Test public void convertToSyntaxObject() throws Exception { Syntax syntax = (Syntax) this.mocker.getComponentUnderTest().convert(Syntax.class, "xwiki/2.1"); Assert.assertEquals(Syntax.XWIKI_2_1, syntax); }
@Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); }
DeprecatedSyntaxConverter extends AbstractConverter { @Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); } }
DeprecatedSyntaxConverter extends AbstractConverter { @Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); }  }
DeprecatedSyntaxConverter extends AbstractConverter { @Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); }  @Override Object convert(Type targetType, Object sourceValue); }
DeprecatedSyntaxConverter extends AbstractConverter { @Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); }  @Override Object convert(Type targetType, Object sourceValue);  }