Revert "Update TestCase.java"

This reverts commit 8563ea80d3b2a4386adc0a85490149e246ac7e28.