create java class in end to end test setup