void () { myFixture.configureByFile("typeParser/typeParser.py"); final PyCollectionType type = (PyCollectionType) PyTypeParser.getTypeByName(myFixture.getFile(), "dict from str to MyObject"); assertNotNull(type); assertClassType(type, "dict"); final List<PyType> elementTypes = type.getElementTypes(); assertClassType(elementTypes.get(0), "str"); assertClassType(elementTypes.get(1), "MyObject"); }