METHOD_0 ( ) { final long count = INT_0 ; final java . lang . String IDENT_0 = STRING_0 ; when ( IDENT_1 . METHOD_1 ( eq ( org . IDENT_2 . web . catalog . domain . IDENT_3 . class ) ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_1 . count ( any ( org . springframework . data . mongodb . core . query . Query . class ) , eq ( org . IDENT_2 . web . catalog . domain . IDENT_3 . class ) ) ) . thenReturn ( count ) ; when ( IDENT_1 . find ( any ( org . springframework . data . mongodb . core . query . Query . class ) , eq ( org . IDENT_2 . web . catalog . domain . IDENT_3 . class ) , eq ( IDENT_0 ) ) ) . thenReturn ( METHOD_2 ( IDENT_4 , count ) ) ; METHOD_3 ( org . IDENT_2 . common . exception . IDENT_5 . class ) . METHOD_4 ( ) . when ( IDENT_6 ) . METHOD_5 ( any ( org . IDENT_2 . web . catalog . domain . IDENT_7 . class ) ) ; service . METHOD_6 ( ) ; final boolean IDENT_8 = ( ( java . lang . Boolean ) ( org . springframework . test . util . IDENT_9 . METHOD_7 ( service , STRING_1 ) ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 ) . count ( any ( org . springframework . data . mongodb . core . query . Query . class ) , eq ( org . IDENT_2 . web . catalog . domain . IDENT_3 . class ) ) ; verify ( IDENT_6 , times ( 2 ) ) . METHOD_5 ( any ( org . IDENT_2 . web . catalog . domain . IDENT_7 . class ) ) ; verify ( IDENT_1 , times ( 2 ) ) . METHOD_8 ( any ( org . springframework . data . mongodb . core . query . Query . class ) , any ( org . springframework . data . mongodb . core . query . IDENT_10 . class ) , eq ( IDENT_4 . getClass ( ) ) ) ; } METHOD_6 ( ) { if ( IDENT_8 ) { org . IDENT_2 . web . catalog . admin . service . impl . IDENT_11 . LOGGER . warn ( STRING_2 ) ; return ; } try { final long IDENT_12 = java . lang . System . currentTimeMillis ( ) ; IDENT_8 = true ; final int IDENT_13 = METHOD_9 ( org . IDENT_2 . web . catalog . domain . IDENT_3 . class , STRING_3 , STRING_4 , STRING_5 , STRING_6 ) ; if ( IDENT_13 > 0 ) { org . IDENT_2 . web . catalog . admin . service . impl . IDENT_11 . LOGGER . info ( STRING_7 , IDENT_13 , ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_12 ) ) ; } } catch ( final java . lang . Exception e ) { org . IDENT_2 . web . catalog . admin . service . impl . IDENT_11 . LOGGER . error ( STRING_8 , e . getMessage ( ) , e ) ; } finally { IDENT_8 = false ; } }
org . junit . Assert . assertFalse ( IDENT_8 )