@VisibleForTesting
  static void loadAttributesMap( DataNode copyNode, JobEntryCopy copy ) throws KettleException {
    // And read the job entry copy group attributes map
    DataNode groupsNode = copyNode.getNode( PROP_ATTRIBUTES_JOB_ENTRY_COPY );
    if ( groupsNode != null ) {
      AttributesMapUtil.loadAttributesMap( copyNode, copy, PROP_ATTRIBUTES_JOB_ENTRY_COPY );
    } else {
      AttributesMapUtil.loadAttributesMap( copyNode, copy );
    }
  }
@Test
  public void loadAttributesMapWithoutAttributesJobEntryCopyTest() throws Exception {
    DataNode dataNode = mock( DataNode.class );
    JobEntryCopy jobEntryCopy = mock( JobEntryCopy.class );
    when( dataNode.getNode( JobDelegate.PROP_ATTRIBUTES_JOB_ENTRY_COPY ) ).thenReturn( dataNode );
    try ( MockedStatic<AttributesMapUtil> dummyAttributesMapUtil = mockStatic( AttributesMapUtil.class ) ) {
      JobDelegate.loadAttributesMap( dataNode, jobEntryCopy );
      dummyAttributesMapUtil.verify( () -> AttributesMapUtil.loadAttributesMap( any( DataNode.class ),
        any( AttributesInterface.class ), any() ), VerificationModeFactory.times( 1 ) );
      AttributesMapUtil.loadAttributesMap( dataNode, jobEntryCopy, JobDelegate.PROP_ATTRIBUTES_JOB_ENTRY_COPY );
    }
  }