@Test
  public void testObjectSerialization() throws IOException, ClassNotFoundException {
    final Calendar now = Calendar.getInstance();
    assertThat(now).isNotNull();

    final byte[] nowBytes = IOUtils.serializeObject(now);
    assertThat(nowBytes).isNotNull();
    assertThat(nowBytes.length != 0).isTrue();

    final Object nowObj = IOUtils.deserializeObject(nowBytes);
    assertThat(nowObj).isInstanceOf(Calendar.class);
    assertThat(((Calendar) nowObj).getTimeInMillis()).isEqualTo(now.getTimeInMillis());
  }
Gets a fully-qualified path anchored at root.
<p>

@param pathElements a String array containing the elements of the path.
@return a fully-qualified pathname as a String value.
geode-core/src/test/java/org/apache/geode/internal/util/IOUtilsJUnitTest.java