ProviderController extends AbstractController { @RequestMapping(value = "connectionMain.html") public String connectionMain(Model model, HttpServletRequest request) { AuthenticatedUser currentUser = userContext.getCurrentUser(); String username = currentUser.getUsername(); String notify = request.getParameter("notify"); String notification = notificationService.notificationStage(username, notify); PatientConnectionDto patientConnectionDto = patientService .findPatientConnectionByUsername(currentUser.getUsername()); accessReferenceMapper.setupAccessReferenceMap(patientConnectionDto .getIndividualProviders()); accessReferenceMapper.setupAccessReferenceMap(patientConnectionDto .getOrganizationalProviders()); List<LookupDto> legalRepresentativeTypeCodes = legalRepresentativeTypeCodeService .findAllLegalRepresentativeTypeCodes(); List<LegalRepresentativeDto> legalRepresentativeDtos = patientLegalRepresentativeAssociationService .getAllLegalRepresentativeDto(); model.addAttribute("patientConnectionDto", patientConnectionDto); model.addAttribute("individualProviders", patientConnectionDto.getIndividualProviders()); model.addAttribute("organizationalProviders", patientConnectionDto.getOrganizationalProviders()); model.addAttribute("legalRepresentativeTypeCodes", legalRepresentativeTypeCodes); model.addAttribute("legalRepresentativeDtos", legalRepresentativeDtos); model.addAttribute("notification", notification); populateLookupCodes(model); return "views/patients/connectionMain"; }  @RequestMapping(value = "connectionMain.html") String connectionMain(Model model, HttpServletRequest request); @RequestMapping(value = "connectionMain/deleteIndividualProvider", method = RequestMethod.POST) String deleteIndividualProvider(
			@RequestParam("individualProviderid") String individualProviderid,
			Model model); @RequestMapping(value = "connectionMain/deleteOrganizationalProvider", method = RequestMethod.POST) String deleteOrganizationalProvider(
			@RequestParam("organizationalProviderid") String organizationalProviderid,
			Model model); @RequestMapping(value = "connectionProviderAdd.html") String providerSearch(Model model); @RequestMapping(value = "providerSearch.html", method = RequestMethod.GET) String ajaxProviderSearch(HttpServletRequest request,
			HttpServletResponse response); @RequestMapping(value = "connectionProviderAdd.html", method = RequestMethod.POST) String providerSearch(@RequestParam("npi") String npi); @RequestMapping(value = "connectionProviderAdd_AJAX.html", method = RequestMethod.POST) @ResponseBody String providerSearch_AJAX(
			@RequestParam("npi") String npi); HashMap<String, String> deserializeResult(String providerDtoJSON); static final int NPI_LENGTH; }
@Test public void testConnectionMain() throws Exception { mockMvc.perform(get("/patients/connectionMain.html")).andExpect( view().name("views/patients/connectionMain")); }
@Test public void testConnectionMain() throws Exception { mockMvc.perform(get("/patients/connectionMain.html")) .andExpect(view().name("views/patients/connectionMain")); }