@Test public void localPropertyReturnsLocalPropertyWithCorrectPropNameAndCorrectConverter() throws IOException { Converter converter = mock(Converter.class); JsonNode value = jsn("value"); given(converter.jsonToTinkerpop(value)).willReturn("converted-value"); LocalProperty instance = localProperty("propName", converter); Vertex vertex = mock(Vertex.class); VertexProperty vertexProperty = mock(VertexProperty.class); given(vertex.property("propName")).willReturn(vertexProperty); instance.setJson(vertex, null); instance.setJson(vertex, value); verify(vertex, times(1)).property("propName", "converted-value"); verify(vertexProperty, times(1)).remove(); }
public static LocalProperty localProperty(String propName) { return localProperty(propName, Converters.stringToString); }
PropertyTypes { public static LocalProperty localProperty(String propName) { return localProperty(propName, Converters.stringToString); } }
PropertyTypes { public static LocalProperty localProperty(String propName) { return localProperty(propName, Converters.stringToString); }  }
PropertyTypes { public static LocalProperty localProperty(String propName) { return localProperty(propName, Converters.stringToString); }  static LocalProperty localProperty(String propName); static LocalProperty localProperty(String propName, Converter converter); static ReadableProperty wwPersonNameOrTempName(); static ReadableProperty wwdocumentDisplayNameProperty(); }
PropertyTypes { public static LocalProperty localProperty(String propName) { return localProperty(propName, Converters.stringToString); }  static LocalProperty localProperty(String propName); static LocalProperty localProperty(String propName, Converter converter); static ReadableProperty wwPersonNameOrTempName(); static ReadableProperty wwdocumentDisplayNameProperty();  }