public void testClose() {
    UnsyncStringReader unsyncStringReader = new UnsyncStringReader("abcdefg");

    unsyncStringReader.close();

    assertTrue(unsyncStringReader.string == null);

    try {
      unsyncStringReader.mark(0);

      fail();
    } catch (IOException ioe) {
    }

    try {
      unsyncStringReader.read();

      fail();
    } catch (IOException ioe) {
    }

    try {
      unsyncStringReader.read(new char[5]);

      fail();
    } catch (IOException ioe) {
    }

    try {
      unsyncStringReader.ready();

      fail();
    } catch (IOException ioe) {
    }

    try {
      unsyncStringReader.reset();

      fail();
    } catch (IOException ioe) {
    }

    unsyncStringReader.close();
  }