I have a json file in the same package of the controller, and I try to read the file and convert it into String
new String(Files.readAllBytes(Paths.get("CustomerOrganization.json")));
But I got an error:
java.nio.file.NoSuchFileException: CustomerOrganization.json

src/.../controllers/CustomerOrganization.jsonCustomerControllerIT.class.getResource("CustomerOrganization.json")