Fixed broken unit test since it caused a class cast exception with java 11.
Your checklist for this pull request
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
[x] PR is well described
[x] Target branch is not master (in most cases develop should bet the target of choice)
[x] Code does not conflict with target branch
[x] New code is covered with unit tests
[ ] CHANGELOG.md updated
[ ] Documentation updated (only necessary for new features or changed behaviour)
Checklist for branch merge request (not required for forks)
Proposed changes
Fixed broken unit test since it caused a class cast exception with java 11.
Your checklist for this pull request
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Checklist for branch merge request (not required for forks)