METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . ui . model . IDENT_2 IDENT_3 = mock ( org . IDENT_0 . IDENT_1 . ui . model . IDENT_2 . class ) ; org . IDENT_0 . IDENT_1 . ui . model . IDENT_4 IDENT_5 = new org . IDENT_0 . IDENT_1 . ui . model . METHOD_1 ( IDENT_3 , org . IDENT_0 . IDENT_1 . ui . backend . service . IDENT_6 . IDENT_7 ) ; java . util . List < org . IDENT_0 . IDENT_1 . services . api . IDENT_8 > IDENT_9 = METHOD_2 ( 1 ) ; when ( IDENT_10 . METHOD_3 ( any ( org . IDENT_0 . IDENT_1 . services . api . IDENT_11 . class ) ) ) . thenReturn ( IDENT_9 ) ; org . IDENT_0 . IDENT_1 . ui . model . IDENT_12 IDENT_13 = METHOD_4 ( IDENT_9 ) . iterator ( ) . next ( ) ; org . IDENT_0 . IDENT_1 . ui . model . IDENT_12 result = service . METHOD_5 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . IDENT_0 . IDENT_1 . ui . model . IDENT_14 ) { METHOD_6 ( STRING_0 , IDENT_15 ) ; final org . IDENT_0 . IDENT_1 . services . api . IDENT_11 query = org . IDENT_0 . IDENT_1 . services . api . IDENT_16 . newInstance ( ) . METHOD_7 ( IDENT_15 . getId ( ) ) . build ( ) ; return METHOD_8 ( IDENT_10 . METHOD_3 ( query ) ) . stream ( ) . METHOD_9 ( ) . METHOD_10 ( null ) ; }
org . junit . Assert . assertEquals ( IDENT_13 , result )