METHOD_0 ( ) { org . oscm . IDENT_0 . bean . IDENT_1 bean = METHOD_1 ( new org . oscm . IDENT_0 . bean . METHOD_2 ( ) ) ; org . oscm . IDENT_2 . bean . IDENT_3 IDENT_4 = METHOD_1 ( new org . oscm . IDENT_2 . bean . METHOD_3 ( ) ) ; doReturn ( bean ) . when ( IDENT_4 ) . METHOD_4 ( ) ; org . hibernate . search . jpa . IDENT_5 IDENT_6 = mock ( org . hibernate . search . jpa . IDENT_5 . class , Mockito . IDENT_7 ) ; doReturn ( IDENT_6 ) . when ( IDENT_4 ) . METHOD_5 ( ) ; org . oscm . IDENT_8 . IDENT_9 IDENT_10 = new org . oscm . IDENT_8 . METHOD_6 ( ) ; IDENT_10 . METHOD_7 ( 1L ) ; org . hibernate . search . jpa . IDENT_11 IDENT_12 = mock ( org . hibernate . search . jpa . IDENT_11 . class ) ; when ( IDENT_6 . METHOD_8 ( any ( org . apache . lucene . search . IDENT_13 . class ) , any ( java . lang . Class . class ) ) ) . thenReturn ( IDENT_12 ) ; doReturn ( java . util . Arrays . asList ( IDENT_10 ) ) . when ( IDENT_12 ) . METHOD_9 ( ) ; java . util . Collection < java . lang . Long > result = IDENT_4 . METHOD_0 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } contains ( java . lang . String ) { java . util . Set < java . lang . String > IDENT_14 = new java . util . HashSet < java . lang . String > ( ) ; for ( org . oscm . types . IDENT_15 . IDENT_16 type : org . oscm . types . IDENT_15 . IDENT_16 . values ( ) ) { IDENT_14 . add ( type . name ( ) ) ; } return IDENT_14 . contains ( IDENT_17 ) ; }
org . junit . Assert . assertTrue ( result . contains ( new java . lang . Long ( 1L ) ) )