JUnit 4.
Refactored functional tests to JUnit 4 and JenkinsRule.