BS-10439 : Java methods

- Fix tests in error after refactoring