@Test
public void testUnmarshal()
{

    DefaultConfiguration result = (DefaultConfiguration) xstream
            .fromXML("<configuration>" + "<requiredArgument name=\"arg1\" value=\"val1\"/>"
                    + "<requiredArgument name=\"arg2\" value=\"val2\"/>" + "</configuration>");
    assertNotNull(result);
    assertNotNull(result.requiredArguments());
    assertEquals("val1", result.requiredArguments().get("arg1"));
    assertEquals("val2", result.requiredArguments().get("arg2"));
}