#NEWLINE# def test_getting_iterator( self ) : #NEWLINE# #INDENT# '\n        Test that iterator can be produced\n        ' #NEWLINE# item = mock ( ) #NEWLINE# self . character . inventory . append ( item ) #NEWLINE# iterator = self . character . inventory . __iter__ ( ) #NEWLINE# assert_that ( iterator , is_ ( not_none ( ) ) )