void () { myFixture.configureByFile("typeParser/typeParser.py"); final PyType type = PyTypeParser.getTypeByName(myFixture.getFile(), "list[int]"); assertInstanceOf(type, PyCollectionType.class); final PyCollectionType collectionType = (PyCollectionType)type; assertNotNull(collectionType); assertEquals("list", collectionType.getName()); assertEquals("int", collectionType.getIteratedItemType().getName()); }