test_class.declarator: mockMvc
test_class.modifier: private
test_class.original_string: private MockMvc mockMvc;
test_class.type: MockMvc
test_class.var_name: mockMvc
test_class.declarator: webApplicationContext
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private WebApplicationContext webApplicationContext;
test_class.type: WebApplicationContext
test_class.var_name: webApplicationContext
test_class.declarator: mapper
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private MappingJackson2HttpMessageConverter mapper;
test_class.type: MappingJackson2HttpMessageConverter
test_class.var_name: mapper
test_class.declarator: ngsiController
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private NgsiController ngsiController;
test_class.type: NgsiController
test_class.var_name: ngsiController
test_class.declarator: ngsiRestController
test_class.modifier: @Autowired
      @InjectMocks
      private
test_class.original_string: @Autowired
      @InjectMocks
      private NgsiRestController ngsiRestController;
test_class.type: NgsiRestController
test_class.var_name: ngsiRestController
test_class.file: cepheus-broker/src/test/java/com/orange/cepheus/broker/controller/NgsiRestControllerTest.java
test_class.identifier: NgsiRestControllerTest
test_case.body: @Test
      public void testUpdateSubscription() throws Exception {
  
          mockMvc.perform(put("/v1/contextSubscriptions/12345678")
                  .content(json(mapper, createUpdateSubscribeContext()))
                  .contentType(MediaType.APPLICATION_JSON))
                  .andExpect(status().isOk());
  
          verify(ngsiController).updateContextSubscription(any());
      }
test_case.class_method_signature: NgsiRestControllerTest.testUpdateSubscription()
test_case.full_signature: @Test public void testUpdateSubscription()
test_case.identifier: testUpdateSubscription
test_case.invocations: andExpect perform contentType content put json createUpdateSubscribeContext isOk status updateContextSubscription verify any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testUpdateSubscription()
focal_class.declarator: ngsiController
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private NgsiController ngsiController;
focal_class.type: NgsiController
focal_class.var_name: ngsiController
focal_class.file: cepheus-broker/src/main/java/com/orange/cepheus/broker/controller/NgsiRestController.java
focal_class.identifier: NgsiRestController
focal_class.class_method_signature: NgsiRestController.appendContextElement(String entityID, AppendContextElement appendContextElement)
focal_class.full_signature: @Override protected AppendContextElementResponse appendContextElement(String entityID, AppendContextElement appendContextElement)
focal_class.identifier: appendContextElement
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, AppendContextElement appendContextElement)
focal_class.return: AppendContextElementResponse
focal_class.signature: AppendContextElementResponse appendContextElement(String entityID, AppendContextElement appendContextElement)
focal_class.class_method_signature: NgsiRestController.updateContextElement(String entityID, UpdateContextElement updateContextElement)
focal_class.full_signature: @Override protected UpdateContextElementResponse updateContextElement(String entityID, UpdateContextElement updateContextElement)
focal_class.identifier: updateContextElement
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, UpdateContextElement updateContextElement)
focal_class.return: UpdateContextElementResponse
focal_class.signature: UpdateContextElementResponse updateContextElement(String entityID, UpdateContextElement updateContextElement)
focal_class.class_method_signature: NgsiRestController.getContextElement(String entityID)
focal_class.full_signature: @Override protected ContextElementResponse getContextElement(String entityID)
focal_class.identifier: getContextElement
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID)
focal_class.return: ContextElementResponse
focal_class.signature: ContextElementResponse getContextElement(String entityID)
focal_class.class_method_signature: NgsiRestController.deleteContextElement(String entityID)
focal_class.full_signature: @Override protected StatusCode deleteContextElement(String entityID)
focal_class.identifier: deleteContextElement
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID)
focal_class.return: StatusCode
focal_class.signature: StatusCode deleteContextElement(String entityID)
focal_class.class_method_signature: NgsiRestController.appendContextAttribute(String entityID, String attributeName, UpdateContextAttribute updateContextAttribute)
focal_class.full_signature: @Override protected StatusCode appendContextAttribute(String entityID, String attributeName, UpdateContextAttribute updateContextAttribute)
focal_class.identifier: appendContextAttribute
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, String attributeName, UpdateContextAttribute updateContextAttribute)
focal_class.return: StatusCode
focal_class.signature: StatusCode appendContextAttribute(String entityID, String attributeName, UpdateContextAttribute updateContextAttribute)
focal_class.class_method_signature: NgsiRestController.updateContextAttribute(String entityID, String attributeName,
              UpdateContextAttribute updateContextAttribute)
focal_class.full_signature: @Override protected StatusCode updateContextAttribute(String entityID, String attributeName,
              UpdateContextAttribute updateContextAttribute)
focal_class.identifier: updateContextAttribute
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, String attributeName,
              UpdateContextAttribute updateContextAttribute)
focal_class.return: StatusCode
focal_class.signature: StatusCode updateContextAttribute(String entityID, String attributeName,
              UpdateContextAttribute updateContextAttribute)
focal_class.class_method_signature: NgsiRestController.getContextAttribute(String entityID, String attributeName)
focal_class.full_signature: @Override protected ContextAttributeResponse getContextAttribute(String entityID, String attributeName)
focal_class.identifier: getContextAttribute
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, String attributeName)
focal_class.return: ContextAttributeResponse
focal_class.signature: ContextAttributeResponse getContextAttribute(String entityID, String attributeName)
focal_class.class_method_signature: NgsiRestController.updateContextAttributeValue(String entityID, String attributeName, String valueID,
              UpdateContextAttribute updateContextAttribute)
focal_class.full_signature: @Override protected StatusCode updateContextAttributeValue(String entityID, String attributeName, String valueID,
              UpdateContextAttribute updateContextAttribute)
focal_class.identifier: updateContextAttributeValue
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, String attributeName, String valueID,
              UpdateContextAttribute updateContextAttribute)
focal_class.return: StatusCode
focal_class.signature: StatusCode updateContextAttributeValue(String entityID, String attributeName, String valueID,
              UpdateContextAttribute updateContextAttribute)
focal_class.class_method_signature: NgsiRestController.deleteContextAttribute(String entityID, String attributeName)
focal_class.full_signature: @Override protected StatusCode deleteContextAttribute(String entityID, String attributeName)
focal_class.identifier: deleteContextAttribute
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, String attributeName)
focal_class.return: StatusCode
focal_class.signature: StatusCode deleteContextAttribute(String entityID, String attributeName)
focal_class.class_method_signature: NgsiRestController.getContextAttributeValue(String entityID, String attributeName, String valueID)
focal_class.full_signature: @Override protected ContextAttributeResponse getContextAttributeValue(String entityID, String attributeName, String valueID)
focal_class.identifier: getContextAttributeValue
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, String attributeName, String valueID)
focal_class.return: ContextAttributeResponse
focal_class.signature: ContextAttributeResponse getContextAttributeValue(String entityID, String attributeName, String valueID)
focal_class.class_method_signature: NgsiRestController.deleteContextAttributeValue(String entityID, String attributeName, String valueID)
focal_class.full_signature: @Override protected StatusCode deleteContextAttributeValue(String entityID, String attributeName, String valueID)
focal_class.identifier: deleteContextAttributeValue
focal_class.modifiers: @Override protected
focal_class.parameters: (String entityID, String attributeName, String valueID)
focal_class.return: StatusCode
focal_class.signature: StatusCode deleteContextAttributeValue(String entityID, String attributeName, String valueID)
focal_class.class_method_signature: NgsiRestController.getContextEntitiesType(String typeName)
focal_class.full_signature: @Override protected QueryContextResponse getContextEntitiesType(String typeName)
focal_class.identifier: getContextEntitiesType
focal_class.modifiers: @Override protected
focal_class.parameters: (String typeName)
focal_class.return: QueryContextResponse
focal_class.signature: QueryContextResponse getContextEntitiesType(String typeName)
focal_class.class_method_signature: NgsiRestController.getContextEntitiesType(String typeName, String attributeName)
focal_class.full_signature: @Override protected QueryContextResponse getContextEntitiesType(String typeName, String attributeName)
focal_class.identifier: getContextEntitiesType
focal_class.modifiers: @Override protected
focal_class.parameters: (String typeName, String attributeName)
focal_class.return: QueryContextResponse
focal_class.signature: QueryContextResponse getContextEntitiesType(String typeName, String attributeName)
focal_class.class_method_signature: NgsiRestController.createSubscription(SubscribeContext subscribeContext)
focal_class.full_signature: @Override protected SubscribeContextResponse createSubscription(SubscribeContext subscribeContext)
focal_class.identifier: createSubscription
focal_class.modifiers: @Override protected
focal_class.parameters: (SubscribeContext subscribeContext)
focal_class.return: SubscribeContextResponse
focal_class.signature: SubscribeContextResponse createSubscription(SubscribeContext subscribeContext)
focal_class.class_method_signature: NgsiRestController.updateSubscription(UpdateContextSubscription updateContextSubscription)
focal_class.full_signature: @Override protected UpdateContextSubscriptionResponse updateSubscription(UpdateContextSubscription updateContextSubscription)
focal_class.identifier: updateSubscription
focal_class.modifiers: @Override protected
focal_class.parameters: (UpdateContextSubscription updateContextSubscription)
focal_class.return: UpdateContextSubscriptionResponse
focal_class.signature: UpdateContextSubscriptionResponse updateSubscription(UpdateContextSubscription updateContextSubscription)
focal_class.class_method_signature: NgsiRestController.deleteSubscription(String subscriptionID)
focal_class.full_signature: @Override protected UnsubscribeContextResponse deleteSubscription(String subscriptionID)
focal_class.identifier: deleteSubscription
focal_class.modifiers: @Override protected
focal_class.parameters: (String subscriptionID)
focal_class.return: UnsubscribeContextResponse
focal_class.signature: UnsubscribeContextResponse deleteSubscription(String subscriptionID)
focal_class.superclass: extends NgsiRestBaseController
focal_method.body: @Override
      protected UpdateContextSubscriptionResponse updateSubscription(UpdateContextSubscription updateContextSubscription) throws Exception {
          return ngsiController.updateContextSubscription(updateContextSubscription);
      }
focal_method.class_method_signature: NgsiRestController.updateSubscription(UpdateContextSubscription updateContextSubscription)
focal_method.full_signature: @Override protected UpdateContextSubscriptionResponse updateSubscription(UpdateContextSubscription updateContextSubscription)
focal_method.identifier: updateSubscription
focal_method.invocations: updateContextSubscription
focal_method.modifiers: @Override protected
focal_method.parameters: (UpdateContextSubscription updateContextSubscription)
focal_method.return: UpdateContextSubscriptionResponse
focal_method.signature: UpdateContextSubscriptionResponse updateSubscription(UpdateContextSubscription updateContextSubscription)