}
}
public void testStreamMarshal() {
try {
UserEntrySet ues1 = getSampleUserEntrySet();
String s = ues1.toString();
InputStream stream = new ByteArrayInputStream(s.getBytes("UTF-8"));
UserEntrySet ues2 = new UserEntrySet(stream, getEndpointUrl());
assertEquals(ues1, ues2);
} catch (UnexpectedRootElementException uree) {
fail(uree.getMessage());
} catch (IOException ioe) {