Enables the test code to be copied and used in Java