Trying to fix issue #1 - Exception when testing GMF diagram with
windowtester (https://github.com/fredg02/windowtester/issues/1)