#NEWLINE# def test_parse_options( self ) : #NEWLINE# #INDENT# '\n        ``FlockerScriptRunner._parse_options`` accepts a list of arguments,\n        passes them to the `parseOptions` method of its ``options`` attribute\n        and returns the populated options instance.\n        ' #NEWLINE# class OptionsSpy ( usage . Options ) : #NEWLINE# #INDENT# def parseOptions( self , arguments ) : #NEWLINE# #INDENT# self . parseOptionsArguments = arguments #NEWLINE# #UNINDENT# #UNINDENT# expectedArguments = [ object ( ) , object ( ) ] #NEWLINE# runner = FlockerScriptRunner ( script = None , options = OptionsSpy ( ) ) #NEWLINE# options = runner . _parse_options ( expectedArguments ) #NEWLINE# self . assertEqual ( expectedArguments , options . parseOptionsArguments )