#NEWLINE# def test_remove( self ) : #NEWLINE# #INDENT# self . map . put ( 'key' , 'value' ) #NEWLINE# removed = self . map . remove ( 'key' ) #NEWLINE# self . assertEqual ( removed , 'value' ) #NEWLINE# self . assertEqual ( 0 , self . map . size ( ) ) #NEWLINE# self . assertFalse ( self . map . contains_key ( 'key' ) )