[java] funtionnal test for a soldier to be hired.