Skip to content

Commit

Permalink
https://github.com/rreganjr/Requel/issues/2
Browse files Browse the repository at this point in the history
added a simple test for IdAdapter unmarshal

Signed-off-by: rreganjr <[email protected]>
  • Loading branch information
rreganjr committed Feb 17, 2018
1 parent eef1f76 commit c800770
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,5 +341,6 @@ public void testIdAdapter() throws Exception {
UserImpl.IdAdapter idAdapter = new UserImpl.IdAdapter();
assertEquals("", idAdapter.marshal(null));
assertTrue(idAdapter.marshal(1234L).contains("1234"));
assertNull("unmarshal always returns null for id, the id in the XML file is only relevant in the file", idAdapter.unmarshal("USR_100"));
}
}

0 comments on commit c800770

Please sign in to comment.