Package org.jboss.resteasy.embedded.utils

## Class TestUtil

- java.lang.Object
- - org.jboss.resteasy.embedded.utils.TestUtil

-     public class TestUtil
      extends Object

  Base util class for Embedded server testing.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TestUtil()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | `readString​(InputStream in)` | Convert input stream to String.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TestUtil

          public TestUtil()

  - ### Method Detail

    - #### readString

          public static String readString​(InputStream in)
                                   throws IOException

      Convert input stream to String.
      Parameters:
        `in` - Input stream
      Returns:
        Converted string
      Throws:
        `IOException`