createdPatientId4 = patient4.getId();
}
@Test
public void testGettingAllVisitFreqs() throws Exception {
ResultActions resultActions = this.mockMvc.perform(get("/reporting/visitFrequency" )
.accept(MediaType.APPLICATION_JSON));
String result = resultActions.andReturn().getResponse().getContentAsString();
LOG.debug("RestultActons: " + result) ;
resultActions.andExpect(status().isOk());
ApiResponse<List<VisitFrequency>> apiResponse = jsonToObject(result);
List<VisitFrequency> vfList = apiResponse.getPayload();
int days = 0;
for (VisitFrequency visitFrequency : vfList) {