https://github.com/jboss-reddeer/reddeer/pull/281