### Question:
VertexLabel { @Override public String toString() { return getQualifiedName(); } VertexLabel(String name);  VertexLabel(String outer, String... inner);  VertexLabel(List<String> namespace, String name); boolean isInNamespace(String... namespace); VertexLabel withExtraNamespace(String topLevelNamespace); VertexLabel withoutOuterNamespace(); Optional<String> getOuterNamespace(); String getUnqualifiedName(); String getQualifiedName(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); static VertexLabel parseLabel(String label);  }### Answer:
@Test public void byDefaultALabelHasNoNamespace() { VertexLabel foo = new VertexLabel("foo"); assertThat(foo.toString(), equalTo("foo")); }
@Test public void itUsesADotToPrint() { VertexLabel foo = new VertexLabel("outer", "inner", "foo"); assertThat(foo.toString(), equalTo("outer.inner.foo")); }