/**
  * Test available.
  *
  * @throws Exception the exception
  */
 public void testAvailable() throws Exception {
   RandomAccessFileInputStream ascii =
       new RandomAccessFileInputStream(
           new File(
               "src"
                   + separator
                   + "test"
                   + separator
                   + "resources"
                   + separator
                   + "io"
                   + separator
                   + "asciiTest.hex"));
   assertEquals(ascii.size(), ascii.available());
   ascii.close();
 }