read ( ) { java . util . Map < java . lang . String , javax . IDENT_0 . directory . IDENT_1 > entities = IDENT_2 . IDENT_3 . IDENT_4 . ldap . internal . IDENT_5 . IDENT_6 . read ( getClass ( ) . getResourceAsStream ( STRING_0 ) ) ; "<AssertPlaceHolder>" ; } read ( java . io . InputStream ) { java . util . Map < java . lang . String , javax . IDENT_0 . directory . IDENT_1 > result = new java . util . METHOD_0 ( ) ; try ( java . io . IDENT_7 reader = new java . io . METHOD_1 ( new java . io . METHOD_2 ( in ) ) ) { java . lang . String line ; javax . IDENT_0 . directory . IDENT_1 IDENT_8 = null ; java . lang . String IDENT_9 = null ; while ( ( line = reader . METHOD_3 ( ) ) != null ) { if ( line . startsWith ( STRING_1 ) ) { continue ; } if ( line . isEmpty ( ) ) { if ( IDENT_9 != null ) { IDENT_2 . IDENT_3 . IDENT_4 . ldap . internal . IDENT_5 . IDENT_6 . METHOD_4 ( result , IDENT_8 , IDENT_9 ) ; } IDENT_8 = null ; IDENT_9 = null ; continue ; } if ( IDENT_8 == null ) { IDENT_8 = new javax . IDENT_0 . directory . METHOD_5 ( ) ; } if ( ! ( line . startsWith ( " " ) ) ) { if ( IDENT_9 != null ) { IDENT_2 . IDENT_3 . IDENT_4 . ldap . internal . IDENT_5 . IDENT_6 . METHOD_4 ( result , IDENT_8 , IDENT_9 ) ; } IDENT_9 = line ; } else { IDENT_9 = IDENT_9 + line ; } } if ( IDENT_9 != null ) { IDENT_2 . IDENT_3 . IDENT_4 . ldap . internal . IDENT_5 . IDENT_6 . METHOD_4 ( result , IDENT_8 , IDENT_9 ) ; } } return result ; }
org . junit . Assert . assertThat ( entities . size ( ) , org . hamcrest . CoreMatchers . is ( 4 ) )