@Test
 public void checkUpdateContextSubscriptionImplemented() throws Exception {
   mockMvc
       .perform(
           post("/i/updateContextSubscription")
               .content(
                   Util.json(jsonConverter, Util.createUpdateContextSubscriptionTemperature()))
               .contentType(MediaType.APPLICATION_JSON)
               .header("Host", "localhost")
               .accept(MediaType.APPLICATION_JSON))
       .andExpect(status().isOk());
 }
 @Test
 public void checkUpdateContextSubscriptionImplementedInXml() throws Exception {
   mockMvc
       .perform(
           post("/i/updateContextSubscription")
               .content(
                   xmlmapper.writeValueAsString(Util.createUpdateContextSubscriptionTemperature()))
               .contentType(MediaType.APPLICATION_XML)
               .header("Host", "localhost")
               .accept(MediaType.APPLICATION_XML))
       .andExpect(status().isOk());
 }
 @Test
 public void checkUpdateContextSubscriptionNotImplemented() throws Exception {
   mockMvc
       .perform(
           post("/ni/updateContextSubscription")
               .content(
                   Util.json(jsonConverter, Util.createUpdateContextSubscriptionTemperature()))
               .contentType(MediaType.APPLICATION_JSON)
               .header("Host", "localhost")
               .accept(MediaType.APPLICATION_JSON))
       .andExpect(status().isOk())
       .andExpect(
           MockMvcResultMatchers.jsonPath("$.subscribeError.errorCode.code")
               .value(CodeEnum.CODE_403.getLabel()));
 }