This commit is contained in:
Mark Fisher
2009-05-18 22:01:27 +00:00
parent 82d53ff952
commit 3a2988e913
2 changed files with 13 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2008 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -95,4 +95,9 @@ public class XPathMessageSplitterTests {
}
}
@Test(expected = MessagingException.class)
public void invalidPayloadType() {
splitter.handleMessage(new GenericMessage<Integer>(123));
}
}