METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( METHOD_2 ( ) ) ; org . IDENT_1 . model . IDENT_2 IDENT_3 = new org . IDENT_1 . model . METHOD_3 ( ) { @ org . oscm . ui . model . Override public java . util . List < org . IDENT_1 . model . IDENT_4 > METHOD_4 ( ) { return java . util . Collections . emptyList ( ) ; } @ org . oscm . ui . model . Override public java . util . List < org . IDENT_1 . model . IDENT_5 > METHOD_5 ( ) { return java . util . Collections . emptyList ( ) ; } @ org . oscm . ui . model . Override public java . util . Locale METHOD_6 ( ) { return java . util . Locale . IDENT_6 ; } } ; when ( IDENT_0 . METHOD_7 ( ) ) . thenReturn ( IDENT_3 ) ; METHOD_8 ( ) . when ( IDENT_0 ) . METHOD_9 ( METHOD_10 ( ) , any ( org . oscm . IDENT_7 . IDENT_8 . class ) ) ; when ( IDENT_9 . METHOD_11 ( any ( org . oscm . IDENT_7 . IDENT_8 . class ) ) ) . thenReturn ( 1 ) ; IDENT_0 . METHOD_12 ( IDENT_9 ) ; int IDENT_10 = IDENT_0 . METHOD_13 ( ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( ) { try { org . oscm . IDENT_7 . IDENT_8 pagination = new org . oscm . IDENT_7 . METHOD_14 ( ) ; METHOD_9 ( METHOD_7 ( ) . METHOD_4 ( ) , pagination ) ; METHOD_15 ( IDENT_9 . METHOD_11 ( pagination ) . METHOD_16 ( ) ) ; } catch ( org . oscm . internal . types . exception . IDENT_11 e ) { org . oscm . ui . model . IDENT_12 . logger . METHOD_17 ( IDENT_13 . IDENT_14 , e , IDENT_15 . IDENT_16 ) ; } return super . METHOD_13 ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_10 )