verifies the output of the command when using the help option concode_field_sep StringWriter outputStringWriter concode_elem_sep PrintWriter errorWriter concode_elem_sep OptionParser testOptionParser concode_elem_sep PrintWriter outWriter concode_elem_sep OptionParser optionParser concode_elem_sep ControlOperationInvoker controlOperationInvoker concode_elem_sep StartCommand startCommand concode_elem_sep StringWriter errorStringWriter concode_field_sep void testStartGroupGeneralFailure concode_elem_sep void testStartServerSpecificFailure concode_elem_sep void tearDown concode_elem_sep void testStartGroupSpecificFailure concode_elem_sep void testStartServer concode_elem_sep void testStartServerGeneralFailure concode_elem_sep void testStartBothServerAndGroupParams concode_elem_sep void testStartGroup concode_elem_sep void testStartNoServerOrGroupParams concode_elem_sep void setUp concode_elem_sep ControlStatusResponse getExpectedResponse concode_elem_sep String getHelpOutput concode_elem_sep void testStartWithServerNameAndServerId
void function ( ) { int loc0 = startCommand . execute ( new String [ ] { "srini_string" } ) ; final String loc1 = outputStringWriter . getBuffer ( ) . toString ( ) . trim ( ) ; assertEquals ( getHelpOutput ( ) , loc1 ) ; assertEquals ( 0 , loc0 ) ; }