@Test
public void invalidBranchInformationShouldProduceFailResponse() throws NotFoundException {
BeanPropertyBindingResult bindingResult = new BeanPropertyBindingResult(new Object(), "");
bindingResult.addError(new ObjectError("name", "message"));
BranchDto branchDto = new BranchDto();
JsonResponse response = administrationController.setBranchInformation(branchDto, bindingResult, Locale.UK);
assertEquals(response.getStatus(), JsonResponseStatus.FAIL);
}