@Test
public void versionVerbose() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException {

    CommandDispatcher d = new CommandDispatcher(opts("--version","--verbose"));
    assertEquals(d.dispatchCommand(null, null), 0);
    assertTrue(outStream.toString().contains(Version.getAgentVersion()));
    assertTrue(outStream.toString().contains(Version.getProtocolVersion()));
}