Test method:typedef