MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / testNullSymbol

Method testNullSymbol

src/test/java/com/amazon/ion/SymbolTest.java:115–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114
115 @Test
116 public void testNullSymbol()
117 {
118 IonSymbol value = (IonSymbol) oneValue("null.symbol");
119 checkNullSymbol(value);
120 assertArrayEquals(new String[0], value.getTypeAnnotations());
121 modifySymbol(value);
122
123 value = (IonSymbol) oneValue("a::null.symbol");
124 checkNullSymbol(value);
125 checkAnnotation("a", value);
126 modifySymbol(value);
127 }
128
129
130 @Test

Callers

nothing calls this directly

Calls 5

checkNullSymbolMethod · 0.95
modifySymbolMethod · 0.95
getTypeAnnotationsMethod · 0.65
oneValueMethod · 0.45
checkAnnotationMethod · 0.45

Tested by

no test coverage detected