Function was only used in tests. Moved it to a package-private Utils class in the test project, [here](https://github.com/Catrobat/Catroid/pull/154/files#L15R36)