void function ( ) { assertTrue ( fencer . tryFence ( TEST_TARGET , "srini_string" ) ) ; Mockito . verify ( ShellCommandFencer . LOG ) . warn ( Mockito . endsWith ( "srini_string" ) ) ; }
test that lines on stderr get passed as warn level log messages concode_field_sep ShellCommandFencer fencer concode_elem_sep HAServiceTarget TEST_TARGET concode_field_sep void resetLogSpy concode_elem_sep void testTargetAsEnvironment concode_elem_sep ShellCommandFencer createFencer concode_elem_sep void testCheckNoArgs concode_elem_sep void testBasicSuccessFailure concode_elem_sep void testStdoutLogging concode_elem_sep void testCommandAbbreviation concode_elem_sep void setupLogSpy concode_elem_sep void testCheckParensNoArgs concode_elem_sep void testConfAsEnvironment concode_elem_sep void testSubprocessInputIsClosed