#NEWLINE# def test_get_entry_view( self ) : #NEWLINE# #INDENT# self . map . put ( 'key' , 'value' ) #NEWLINE# self . map . get ( 'key' ) #NEWLINE# self . map . put ( 'key' , 'new_value' ) #NEWLINE# entry_view = self . map . get_entry_view ( 'key' ) #NEWLINE# self . assertEqual ( entry_view . key , 'key' ) #NEWLINE# self . assertEqual ( entry_view . value , 'new_value' ) #NEWLINE# self . assertIsNotNone ( entry_view . creation_time ) #NEWLINE# self . assertIsNotNone ( entry_view . expiration_time ) #NEWLINE# self . assertEqual ( entry_view . hits , 2 ) #NEWLINE# self . assertEqual ( entry_view . version , 1 ) #NEWLINE# self . assertEqual ( entry_view . eviction_criteria_number , 0 ) #NEWLINE# self . assertIsNotNone ( entry_view . last_access_time ) #NEWLINE# self . assertIsNotNone ( entry_view . last_stored_time ) #NEWLINE# self . assertIsNotNone ( entry_view . last_update_time ) #NEWLINE# self . assertIsNotNone ( entry_view . ttl )