Esempio n. 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldHandleNodes()
        public virtual void ShouldHandleNodes()
        {
            // Given
            NodeValue nodeValue = nodeValue(42L, stringArray("L"), EMPTY_MAP);

            // When
            nodeValue.WriteTo(_converter);

            // Then
            assertThat(_converter.value(), equalTo(VirtualValues.node(42L)));
        }
Esempio n. 2
0
 public override void WriteNode(long nodeId, TextArray ignore, MapValue properties)
 {
     WriteValue(VirtualValues.node(nodeId));
 }
Esempio n. 3
0
 public override void WriteNodeReference(long nodeId)
 {
     WriteValue(VirtualValues.node(nodeId));
 }