test_class.declarator: expectedPartitionValueRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private ExpectedPartitionValueRestController expectedPartitionValueRestController;
test_class.type: ExpectedPartitionValueRestController
test_class.var_name: expectedPartitionValueRestController
test_class.declarator: expectedPartitionValueService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ExpectedPartitionValueService expectedPartitionValueService;
test_class.type: ExpectedPartitionValueService
test_class.var_name: expectedPartitionValueService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/ExpectedPartitionValueRestControllerTest.java
test_class.identifier: ExpectedPartitionValueRestControllerTest
test_class.superclass: extends AbstractRestTest
test_case.body: @Test
      public void testDeleteExpectedPartitionValues()
      {
          ExpectedPartitionValuesInformation expectedPartitionValuesInformation =
              new ExpectedPartitionValuesInformation(partitionKeyGroupServiceTestHelper.createPartitionKeyGroupKey(PARTITION_KEY_GROUP),
                  expectedPartitionValueDaoTestHelper.getTestSortedExpectedPartitionValues());
          // Delete expected partition values from this partition key group.
          ExpectedPartitionValuesDeleteRequest request = expectedPartitionValueServiceTestHelper
              .createExpectedPartitionValuesDeleteRequest(PARTITION_KEY_GROUP, expectedPartitionValueDaoTestHelper.getTestUnsortedExpectedPartitionValues());
  
          when(expectedPartitionValueService.deleteExpectedPartitionValues(request)).thenReturn(expectedPartitionValuesInformation);
  
          ExpectedPartitionValuesInformation resultPartitionValuesInformation = expectedPartitionValueRestController.deleteExpectedPartitionValues(request);
  
          // Validate the returned object.
          expectedPartitionValueServiceTestHelper
              .validateExpectedPartitionValuesInformation(PARTITION_KEY_GROUP, expectedPartitionValueDaoTestHelper.getTestSortedExpectedPartitionValues(),
                  resultPartitionValuesInformation);
  
          // Verify the external calls.
          verify(expectedPartitionValueService).deleteExpectedPartitionValues(request);
          verifyNoMoreInteractions(expectedPartitionValueService);
          // Validate the returned object.
          assertEquals(expectedPartitionValuesInformation, resultPartitionValuesInformation);
      }
test_case.class_method_signature: ExpectedPartitionValueRestControllerTest.testDeleteExpectedPartitionValues()
test_case.full_signature: @Test public void testDeleteExpectedPartitionValues()
test_case.identifier: testDeleteExpectedPartitionValues
test_case.invocations: createPartitionKeyGroupKey getTestSortedExpectedPartitionValues createExpectedPartitionValuesDeleteRequest getTestUnsortedExpectedPartitionValues thenReturn when deleteExpectedPartitionValues deleteExpectedPartitionValues validateExpectedPartitionValuesInformation getTestSortedExpectedPartitionValues deleteExpectedPartitionValues verify verifyNoMoreInteractions assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDeleteExpectedPartitionValues()
focal_class.declarator: EXPECTED_PARTITION_VALUES_URI_PREFIX = "/expectedPartitionValues"
focal_class.modifier: public static final
focal_class.original_string: public static final String EXPECTED_PARTITION_VALUES_URI_PREFIX = "/expectedPartitionValues";
focal_class.type: String
focal_class.var_name: EXPECTED_PARTITION_VALUES_URI_PREFIX
focal_class.declarator: expectedPartitionValueService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ExpectedPartitionValueService expectedPartitionValueService;
focal_class.type: ExpectedPartitionValueService
focal_class.var_name: expectedPartitionValueService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/ExpectedPartitionValueRestController.java
focal_class.identifier: ExpectedPartitionValueRestController
focal_class.class_method_signature: ExpectedPartitionValueRestController.createExpectedPartitionValues(@RequestBody ExpectedPartitionValuesCreateRequest request)
focal_class.full_signature: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_POST) public ExpectedPartitionValuesInformation createExpectedPartitionValues(@RequestBody ExpectedPartitionValuesCreateRequest request)
focal_class.identifier: createExpectedPartitionValues
focal_class.modifiers: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_POST) public
focal_class.parameters: (@RequestBody ExpectedPartitionValuesCreateRequest request)
focal_class.return: ExpectedPartitionValuesInformation
focal_class.signature: ExpectedPartitionValuesInformation createExpectedPartitionValues(@RequestBody ExpectedPartitionValuesCreateRequest request)
focal_class.class_method_signature: ExpectedPartitionValueRestController.getExpectedPartitionValue(@PathVariable("partitionKeyGroupName") String partitionKeyGroupName,
          @PathVariable("expectedPartitionValue") String expectedPartitionValue, @RequestParam(value = "offset", required = false) Integer offset)
focal_class.full_signature: @RequestMapping( value = EXPECTED_PARTITION_VALUES_URI_PREFIX + "/partitionKeyGroups/{partitionKeyGroupName}/expectedPartitionValues/{expectedPartitionValue}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_GET) public ExpectedPartitionValueInformation getExpectedPartitionValue(@PathVariable("partitionKeyGroupName") String partitionKeyGroupName,
          @PathVariable("expectedPartitionValue") String expectedPartitionValue, @RequestParam(value = "offset", required = false) Integer offset)
focal_class.identifier: getExpectedPartitionValue
focal_class.modifiers: @RequestMapping( value = EXPECTED_PARTITION_VALUES_URI_PREFIX + "/partitionKeyGroups/{partitionKeyGroupName}/expectedPartitionValues/{expectedPartitionValue}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_GET) public
focal_class.parameters: (@PathVariable("partitionKeyGroupName") String partitionKeyGroupName,
          @PathVariable("expectedPartitionValue") String expectedPartitionValue, @RequestParam(value = "offset", required = false) Integer offset)
focal_class.return: ExpectedPartitionValueInformation
focal_class.signature: ExpectedPartitionValueInformation getExpectedPartitionValue(@PathVariable("partitionKeyGroupName") String partitionKeyGroupName,
          @PathVariable("expectedPartitionValue") String expectedPartitionValue, @RequestParam(value = "offset", required = false) Integer offset)
focal_class.class_method_signature: ExpectedPartitionValueRestController.getExpectedPartitionValues(@PathVariable("partitionKeyGroupName") String partitionKeyGroupName,
          @RequestParam(value = "startExpectedPartitionValue", required = false) String startExpectedPartitionValue,
          @RequestParam(value = "endExpectedPartitionValue", required = false) String endExpectedPartitionValue)
focal_class.full_signature: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX + "/partitionKeyGroups/{partitionKeyGroupName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_GET) public ExpectedPartitionValuesInformation getExpectedPartitionValues(@PathVariable("partitionKeyGroupName") String partitionKeyGroupName,
          @RequestParam(value = "startExpectedPartitionValue", required = false) String startExpectedPartitionValue,
          @RequestParam(value = "endExpectedPartitionValue", required = false) String endExpectedPartitionValue)
focal_class.identifier: getExpectedPartitionValues
focal_class.modifiers: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX + "/partitionKeyGroups/{partitionKeyGroupName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_GET) public
focal_class.parameters: (@PathVariable("partitionKeyGroupName") String partitionKeyGroupName,
          @RequestParam(value = "startExpectedPartitionValue", required = false) String startExpectedPartitionValue,
          @RequestParam(value = "endExpectedPartitionValue", required = false) String endExpectedPartitionValue)
focal_class.return: ExpectedPartitionValuesInformation
focal_class.signature: ExpectedPartitionValuesInformation getExpectedPartitionValues(@PathVariable("partitionKeyGroupName") String partitionKeyGroupName,
          @RequestParam(value = "startExpectedPartitionValue", required = false) String startExpectedPartitionValue,
          @RequestParam(value = "endExpectedPartitionValue", required = false) String endExpectedPartitionValue)
focal_class.class_method_signature: ExpectedPartitionValueRestController.deleteExpectedPartitionValues(@RequestBody ExpectedPartitionValuesDeleteRequest request)
focal_class.full_signature: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX, method = RequestMethod.DELETE, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_DELETE) public ExpectedPartitionValuesInformation deleteExpectedPartitionValues(@RequestBody ExpectedPartitionValuesDeleteRequest request)
focal_class.identifier: deleteExpectedPartitionValues
focal_class.modifiers: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX, method = RequestMethod.DELETE, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_DELETE) public
focal_class.parameters: (@RequestBody ExpectedPartitionValuesDeleteRequest request)
focal_class.return: ExpectedPartitionValuesInformation
focal_class.signature: ExpectedPartitionValuesInformation deleteExpectedPartitionValues(@RequestBody ExpectedPartitionValuesDeleteRequest request)
focal_class.superclass: extends HerdBaseController
focal_method.body: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX, method = RequestMethod.DELETE, consumes = {"application/xml", "application/json"})
      @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_DELETE)
      public ExpectedPartitionValuesInformation deleteExpectedPartitionValues(@RequestBody ExpectedPartitionValuesDeleteRequest request)
      {
          return expectedPartitionValueService.deleteExpectedPartitionValues(request);
      }
focal_method.class_method_signature: ExpectedPartitionValueRestController.deleteExpectedPartitionValues(@RequestBody ExpectedPartitionValuesDeleteRequest request)
focal_method.full_signature: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX, method = RequestMethod.DELETE, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_DELETE) public ExpectedPartitionValuesInformation deleteExpectedPartitionValues(@RequestBody ExpectedPartitionValuesDeleteRequest request)
focal_method.identifier: deleteExpectedPartitionValues
focal_method.invocations: deleteExpectedPartitionValues
focal_method.modifiers: @RequestMapping(value = EXPECTED_PARTITION_VALUES_URI_PREFIX, method = RequestMethod.DELETE, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_EXPECTED_PARTITION_VALUES_DELETE) public
focal_method.parameters: (@RequestBody ExpectedPartitionValuesDeleteRequest request)
focal_method.return: ExpectedPartitionValuesInformation
focal_method.signature: ExpectedPartitionValuesInformation deleteExpectedPartitionValues(@RequestBody ExpectedPartitionValuesDeleteRequest request)