test_class.declarator: expectedException = ExpectedException.none()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public ExpectedException expectedException = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: expectedException
test_class.declarator: businessObjectFormatDaoHelper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectFormatDaoHelper businessObjectFormatDaoHelper;
test_class.type: BusinessObjectFormatDaoHelper
test_class.var_name: businessObjectFormatDaoHelper
test_class.declarator: businessObjectFormatExternalInterfaceDao
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectFormatExternalInterfaceDao businessObjectFormatExternalInterfaceDao;
test_class.type: BusinessObjectFormatExternalInterfaceDao
test_class.var_name: businessObjectFormatExternalInterfaceDao
test_class.declarator: businessObjectFormatExternalInterfaceDaoHelper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectFormatExternalInterfaceDaoHelper businessObjectFormatExternalInterfaceDaoHelper;
test_class.type: BusinessObjectFormatExternalInterfaceDaoHelper
test_class.var_name: businessObjectFormatExternalInterfaceDaoHelper
test_class.declarator: businessObjectFormatExternalInterfaceHelper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectFormatExternalInterfaceHelper businessObjectFormatExternalInterfaceHelper;
test_class.type: BusinessObjectFormatExternalInterfaceHelper
test_class.var_name: businessObjectFormatExternalInterfaceHelper
test_class.declarator: businessObjectFormatExternalInterfaceService
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private BusinessObjectFormatExternalInterfaceServiceImpl businessObjectFormatExternalInterfaceService;
test_class.type: BusinessObjectFormatExternalInterfaceServiceImpl
test_class.var_name: businessObjectFormatExternalInterfaceService
test_class.declarator: externalInterfaceDaoHelper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ExternalInterfaceDaoHelper externalInterfaceDaoHelper;
test_class.type: ExternalInterfaceDaoHelper
test_class.var_name: externalInterfaceDaoHelper
test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/impl/BusinessObjectFormatExternalInterfaceServiceImplTest.java
test_class.identifier: BusinessObjectFormatExternalInterfaceServiceImplTest
test_case.body: @Test
      public void testGetBusinessObjectFormatExternalInterface()
      {
          // Create a business object format to external interface mapping key.
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey =
              new BusinessObjectFormatExternalInterfaceKey(NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE, EXTERNAL_INTERFACE);
  
          // Create a business object format to external interface mapping.
          BusinessObjectFormatExternalInterface businessObjectFormatExternalInterface =
              new BusinessObjectFormatExternalInterface(ID, businessObjectFormatExternalInterfaceKey);
  
          // Create a business object format to external interface mapping entity.
          BusinessObjectFormatExternalInterfaceEntity businessObjectFormatExternalInterfaceEntity = new BusinessObjectFormatExternalInterfaceEntity();
  
          // Mock the external calls.
          when(businessObjectFormatExternalInterfaceDaoHelper.getBusinessObjectFormatExternalInterfaceEntity(businessObjectFormatExternalInterfaceKey))
              .thenReturn(businessObjectFormatExternalInterfaceEntity);
          when(businessObjectFormatExternalInterfaceHelper.createBusinessObjectFormatExternalInterfaceFromEntity(businessObjectFormatExternalInterfaceEntity))
              .thenReturn(businessObjectFormatExternalInterface);
  
          // Call the method under test.
          BusinessObjectFormatExternalInterface result =
              businessObjectFormatExternalInterfaceService.getBusinessObjectFormatExternalInterface(businessObjectFormatExternalInterfaceKey);
  
          // Validate the results.
          assertEquals(businessObjectFormatExternalInterface, result);
  
          // Verify the external calls.
          verify(businessObjectFormatExternalInterfaceHelper).validateAndTrimBusinessObjectFormatExternalInterfaceKey(businessObjectFormatExternalInterfaceKey);
          verify(businessObjectFormatExternalInterfaceDaoHelper).getBusinessObjectFormatExternalInterfaceEntity(businessObjectFormatExternalInterfaceKey);
          verify(businessObjectFormatExternalInterfaceHelper).createBusinessObjectFormatExternalInterfaceFromEntity(businessObjectFormatExternalInterfaceEntity);
          verifyNoMoreInteractionsHelper();
      }
test_case.class_method_signature: BusinessObjectFormatExternalInterfaceServiceImplTest.testGetBusinessObjectFormatExternalInterface()
test_case.full_signature: @Test public void testGetBusinessObjectFormatExternalInterface()
test_case.identifier: testGetBusinessObjectFormatExternalInterface
test_case.invocations: thenReturn when getBusinessObjectFormatExternalInterfaceEntity thenReturn when createBusinessObjectFormatExternalInterfaceFromEntity getBusinessObjectFormatExternalInterface assertEquals validateAndTrimBusinessObjectFormatExternalInterfaceKey verify getBusinessObjectFormatExternalInterfaceEntity verify createBusinessObjectFormatExternalInterfaceFromEntity verify verifyNoMoreInteractionsHelper
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetBusinessObjectFormatExternalInterface()
focal_class.declarator: businessObjectFormatDaoHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectFormatDaoHelper businessObjectFormatDaoHelper;
focal_class.type: BusinessObjectFormatDaoHelper
focal_class.var_name: businessObjectFormatDaoHelper
focal_class.declarator: businessObjectFormatExternalInterfaceDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectFormatExternalInterfaceDao businessObjectFormatExternalInterfaceDao;
focal_class.type: BusinessObjectFormatExternalInterfaceDao
focal_class.var_name: businessObjectFormatExternalInterfaceDao
focal_class.declarator: businessObjectFormatExternalInterfaceDaoHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectFormatExternalInterfaceDaoHelper businessObjectFormatExternalInterfaceDaoHelper;
focal_class.type: BusinessObjectFormatExternalInterfaceDaoHelper
focal_class.var_name: businessObjectFormatExternalInterfaceDaoHelper
focal_class.declarator: businessObjectFormatExternalInterfaceHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectFormatExternalInterfaceHelper businessObjectFormatExternalInterfaceHelper;
focal_class.type: BusinessObjectFormatExternalInterfaceHelper
focal_class.var_name: businessObjectFormatExternalInterfaceHelper
focal_class.declarator: externalInterfaceDaoHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ExternalInterfaceDaoHelper externalInterfaceDaoHelper;
focal_class.type: ExternalInterfaceDaoHelper
focal_class.var_name: externalInterfaceDaoHelper
focal_class.file: herd-code/herd-service/src/main/java/org/finra/herd/service/impl/BusinessObjectFormatExternalInterfaceServiceImpl.java
focal_class.identifier: BusinessObjectFormatExternalInterfaceServiceImpl
focal_class.interfaces: implements BusinessObjectFormatExternalInterfaceService
focal_class.class_method_signature: BusinessObjectFormatExternalInterfaceServiceImpl.createBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_class.full_signature: @Override public BusinessObjectFormatExternalInterface createBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_class.identifier: createBusinessObjectFormatExternalInterface
focal_class.modifiers: @Override public
focal_class.parameters: (
          BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_class.return: BusinessObjectFormatExternalInterface
focal_class.signature: BusinessObjectFormatExternalInterface createBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_class.class_method_signature: BusinessObjectFormatExternalInterfaceServiceImpl.deleteBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_class.full_signature: @Override public BusinessObjectFormatExternalInterface deleteBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_class.identifier: deleteBusinessObjectFormatExternalInterface
focal_class.modifiers: @Override public
focal_class.parameters: (
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_class.return: BusinessObjectFormatExternalInterface
focal_class.signature: BusinessObjectFormatExternalInterface deleteBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_class.class_method_signature: BusinessObjectFormatExternalInterfaceServiceImpl.getBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_class.full_signature: @Override public BusinessObjectFormatExternalInterface getBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_class.identifier: getBusinessObjectFormatExternalInterface
focal_class.modifiers: @Override public
focal_class.parameters: (
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_class.return: BusinessObjectFormatExternalInterface
focal_class.signature: BusinessObjectFormatExternalInterface getBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_method.body: @Override
      public BusinessObjectFormatExternalInterface getBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
      {
          // Validate and trim the business object format to external interface mapping key.
          businessObjectFormatExternalInterfaceHelper.validateAndTrimBusinessObjectFormatExternalInterfaceKey(businessObjectFormatExternalInterfaceKey);
  
          // Retrieve and ensure that a business object format to external interface mapping with the specified key exists.
          BusinessObjectFormatExternalInterfaceEntity businessObjectFormatExternalInterfaceEntity =
              businessObjectFormatExternalInterfaceDaoHelper.getBusinessObjectFormatExternalInterfaceEntity(businessObjectFormatExternalInterfaceKey);
  
          // Create a business object format to external interface mapping object from the entity and return it.
          return businessObjectFormatExternalInterfaceHelper.createBusinessObjectFormatExternalInterfaceFromEntity(businessObjectFormatExternalInterfaceEntity);
      }
focal_method.class_method_signature: BusinessObjectFormatExternalInterfaceServiceImpl.getBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_method.full_signature: @Override public BusinessObjectFormatExternalInterface getBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_method.identifier: getBusinessObjectFormatExternalInterface
focal_method.invocations: validateAndTrimBusinessObjectFormatExternalInterfaceKey getBusinessObjectFormatExternalInterfaceEntity createBusinessObjectFormatExternalInterfaceFromEntity
focal_method.modifiers: @Override public
focal_method.parameters: (
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)
focal_method.return: BusinessObjectFormatExternalInterface
focal_method.signature: BusinessObjectFormatExternalInterface getBusinessObjectFormatExternalInterface(
          BusinessObjectFormatExternalInterfaceKey businessObjectFormatExternalInterfaceKey)