#NEWLINE# def test_interface_method( self ) : #NEWLINE# #INDENT# m = self . parser . parse_string ( '\n        interface Foo {\n          void foo();\n        }\n        ' ) #NEWLINE# cls = self . _assert_declaration ( m , 'Foo' , type = model . InterfaceDeclaration ) #NEWLINE# self . assertEquals ( cls . body , [ MethodDeclaration ( 'foo' , abstract = True ) ] )