### Question:
RecordPropertyCursor extends PropertyRecord implements StoragePropertyCursor { @Override public void close() { if ( stringPage != null ) { stringPage.close(); stringPage = null; } if ( arrayPage != null ) { arrayPage.close(); arrayPage = null; } if ( page != null ) { page.close(); page = null; } } RecordPropertyCursor( PropertyStore read ); @Override void init( long reference ); @Override boolean next(); @Override void reset(); @Override int propertyKey(); @Override ValueGroup propertyType(); @Override Value propertyValue(); @Override final PropertyRecord clone(); @Override String toString(); @Override void close(); public ByteBuffer buffer; }### Answer:
@Test public void closeShouldBeIdempotent() { RecordPropertyCursor cursor = createCursor(); cursor.close(); cursor.close(); }