RevisionReferencesNode implements DataRecord { @Override public long getRevision() { throw new UnsupportedOperationException(); } RevisionReferencesNode(final long nodeKey, final int[] revisions); @Override long getNodeKey(); @Override SirixDeweyID getDeweyID(); @Override RecordPersister getKind(); @Override long getRevision(); RevisionReferencesNode addRevision(final int revision); @Override int hashCode(); @Override boolean equals(Object o); int[] getRevisions();  }
@Test(expected = UnsupportedOperationException.class) public void testGetRevisionMethodOperationNotSupportedException() { final var node = new RevisionReferencesNode(1, new int[] {}); node.getRevision(); }