MCCoroutine is a library, which adds extensive support for Kotlin Coroutines for Minecraft Server environments.
mccoroutine-bukkit-test
, which contains an implementation of MCCoroutine designed for UnitTests. The details are documented on this wiki page.