#NEWLINE# def test_remove_type_declaration( self ) : #NEWLINE# #INDENT# source = 'UIWindow* aWindow = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]' #NEWLINE# expected = 'aWindow = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease]' #NEWLINE# self . assertSentence ( CodeConverter ( source ) . remove_type_declaration ( ) . s , expected )