    @Test
    public void testFindReceiveCount() throws Exception {

        // Relies on pre-existing mock data injected via Liquibase in the "test" profile

        ResultActions actions = mockMvc.perform(
                get("/" + PayloadType.TEST1 + "/count"));
        MvcResult result = actions.andExpect(
                status().isOk())
                .andReturn();
        String sendCountJson = result.getResponse().getContentAsString();

        ReceiveCount sendCount = deserializeReceiveCount(sendCountJson);
        assertEquals(PayloadType.TEST1, sendCount.getPayloadType());
        assertEquals(1, sendCount.getTimesReceived());
    }