@Test public void getElementType() { ElementType type = new ElementType( "face", new ListProperty( DataType.UCHAR, "vertex_index", DataType.INT)); ElementReader reader = mock(ElementReader.class); when(reader.getElementType()).thenReturn(type); TriangulatingFaceReader target = new TriangulatingFaceReader(reader); assertEquals(type, target.getElementType()); }
@Override public ElementType getElementType() { return reader.getElementType(); }
TriangulatingFaceReader implements ElementReader { @Override public ElementType getElementType() { return reader.getElementType(); } }
TriangulatingFaceReader implements ElementReader { @Override public ElementType getElementType() { return reader.getElementType(); } TriangulatingFaceReader(final ElementReader reader); }
TriangulatingFaceReader implements ElementReader { @Override public ElementType getElementType() { return reader.getElementType(); } TriangulatingFaceReader(final ElementReader reader); @Override ElementType getElementType(); @Override int getCount(); @Override Element readElement(); @Override void close(); @Override boolean isClosed(); }
TriangulatingFaceReader implements ElementReader { @Override public ElementType getElementType() { return reader.getElementType(); } TriangulatingFaceReader(final ElementReader reader); @Override ElementType getElementType(); @Override int getCount(); @Override Element readElement(); @Override void close(); @Override boolean isClosed();  }