}
@Test
public void unsupportedCommandsTest() {
try {
new JaxbCommandsRequest(new HaltCommand());
fail( "An exception should have been thrown" );
} catch (Exception e) {
assertTrue(e instanceof UnsupportedOperationException);
}
Command [] cmdArrs = { new HaltCommand() };
List<Command> cmds = Arrays.asList(cmdArrs);
try {
new JaxbCommandsRequest(cmds);
fail( "An exception should have been thrown" );
} catch (Exception e) {