List<BeanInjectionInfo.Property> getGroupProperties( BeanInjectionInfo beanInjectionInfo, String groupName ) {
    BeanInjectionInfo.Group group = beanInjectionInfo.getGroups().stream()
       .filter( g -> g.getName().equals( groupName ) ).findFirst().orElse( null );

    return ( group != null ) ? group.getGroupProperties() : new ArrayList<>();
  }
@Test
  public void getGroupProperties_NonEmptyGroup() {
    BeanInjector bi = new BeanInjector(null );
    BeanInjectionInfo bii = new BeanInjectionInfo( MetaBeanLevel1.class );
    MetaBeanLevel1 mbl1 = new MetaBeanLevel1();
    mbl1.setSub( new MetaBeanLevel2() );
    mbl1.getSub().setFilenames( new String[] { "file1", "file2", "file3"} );
    mbl1.getSub().setAscending( Arrays.asList( new Boolean[] { true, false, false, true} ) );
    mbl1.getSub().setSeparator( "/" );

    List<BeanInjectionInfo.Property> actualProperties = bi.getGroupProperties( bii, "FILENAME_LINES2"  );
    assertNotNull( actualProperties );
    assertEquals(2, actualProperties.size() );
    assertNotNull( bii.getProperties().values().stream().filter( p -> p.getName().equals( "ASCENDING_LIST" ) ) );
    assertNotNull( bii.getProperties().values().stream().filter( p -> p.getName().equals( "FILENAME_ARRAY" ) ) );
  }