### Question:
SequenceItem implements VertexDictionary { @Override public <V extends Vertex<?, ?>> V get(VertexLabel label) { Vertex<?, ?> vertex = contents.getOrDefault(label, contents.get(scoped(label))); if (vertex == null) { throw new IllegalArgumentException("Cannot find VertexLabel " + label); } return (V) vertex; } SequenceItem(int index, int uniqueSequenceIdentifier);  SequenceItem(int index, int uniqueSequenceIdentifier, String sequenceName); void addAll(T... vertices); void addAll(Collection<T> vertices); void addAll(Map<VertexLabel, T> vertices); T add(T v); T add(VertexLabel label, T v); Map<VertexLabel, Vertex<?, ?>> getContents(); int getIndex(); @Override V get(VertexLabel label); @Override SequenceItem withExtraEntries(Map<VertexLabel, Vertex<?, ?>> extraEntries); Collection<Vertex<?, ?>> getProxyVertices(); DoubleProxyVertex addDoubleProxyFor(VertexLabel label); DoubleProxyVertex addDoubleProxyFor(VertexLabel label, long[] shape); IntegerProxyVertex addIntegerProxyFor(VertexLabel label); IntegerProxyVertex addIntegerProxyFor(VertexLabel label, long[] shape); BooleanProxyVertex addBooleanProxyFor(VertexLabel label); BooleanProxyVertex addBooleanProxyFor(VertexLabel label, long[] shape);  }### Answer:
@Test public void youCanGetAVertexByName() { Vertex<?, ?> vertex = item.get(VERTEX_LABEL_1); assertThat(vertex, equalTo(this.vertex1)); }
@Test public void unlabelledVerticesCanAlsoBeGotIfYouKnowTheLabelToUse() { Vertex<?, ?> vertex = item.get(VERTEX_LABEL_2); assertThat(vertex, equalTo(this.vertex2)); }