@Test
public void testDoWithInvalidResult() throws Exception {

	Result result = new Result() {
		public void setSystemId(String systemId) {}
		public String getSystemId() {
			return null;
		}
	};
	try {
		TraxUtils.doWithResult(result, null);
		Assert.fail("IllegalArgumentException expected");
	} catch (IllegalArgumentException ex) {
		// expected
	}
}