https://build.spring.io/browse/INT-MASTERSPRING40-681/ * Create an `ImapServer` only in the `@Before` method. Looks like the `final` property is initialized only once for the whole test class * Change `LongRunningIntegrationTest` to the `@ClassRule` * Fix `testMessageHistory()` and re-enable it * Remove redundant `this.imapIdleServer.resetServer()` since we now have a fresh `ImapServer` instance for every test method.