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