PyDebugValue (@NotNull PyDebugValue dict, @NotNull String key) { List<XValue> children = XDebuggerTestUtil.collectChildren(dict); return children.stream() .map(value -> (PyDebugValue)value) .filter(value -> value.getVisibleName().equals(key)) .findFirst().orElseThrow(); }