<s> """<STR_LIT>""" <EOL> from mockito . matchers import Matcher <EOL> class DropActionParameterMatcher ( Matcher ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , item ) : <EOL> """<STR_LIT>""" <EOL> super ( ) . __init__ ( ) <EOL> self . item = item <EOL> def matches ( self , arg ) : <EOL> """<STR_LIT>""" <EOL> match_ok = True <EOL> if arg . action_type != '<STR_LIT>' : <EOL> match_ok = False <EOL> if arg . sub_action != '<STR_LIT>' : <EOL> match_ok = False <EOL> if arg . item != self . item : <EOL> match_ok = False <EOL> return match_ok <EOL> def __repr__ ( self ) : <EOL> """<STR_LIT>""" <EOL> return """<STR_LIT>""" . format ( self . item ) </s>
