Пример #1
0
  @Test
  public void testCreateProperty() {
    final InputTypeConfig config = InputTypeConfig.create().build();
    final Value value = this.type.createValue("test", config);

    assertNotNull(value);
    assertSame(ValueTypes.STRING, value.getType());
  }
Пример #2
0
 @Override
 public Value createValue(final Value value, final InputTypeConfig config) {
   return ValueFactory.newGeoPoint(value.asGeoPoint());
 }