#NEWLINE# def _prepare_mocks( self , task ) : #NEWLINE# #INDENT# self . _run_java_mock = Mock ( return_value = 0 ) #NEWLINE# task . tool_classpath = Mock ( return_value = 'foo_classpath' ) #NEWLINE# task . runjava = task . _run_java_mock