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 ) ) ; service . METHOD_0 ( ) ; final boolean IDENT_5 = ( ( java . lang . Boolean ) ( org . springframework . test . util . IDENT_6 . METHOD_3 ( 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_7 ) . METHOD_4 ( any ( org . IDENT_2 . web . catalog . domain . IDENT_8 . class ) ) ; verify ( IDENT_1 ) . METHOD_5 ( any ( org . springframework . data . mongodb . core . query . Query . class ) , any ( org . springframework . data . mongodb . core . query . IDENT_9 . class ) , eq ( IDENT_4 . getClass ( ) ) ) ; } METHOD_0 ( ) { if ( IDENT_5 ) { org . IDENT_2 . web . catalog . admin . service . impl . IDENT_10 . LOGGER . warn ( STRING_2 ) ; return ; } try { final long IDENT_11 = java . lang . System . currentTimeMillis ( ) ; IDENT_5 = true ; final int IDENT_12 = METHOD_6 ( org . IDENT_2 . web . catalog . domain . IDENT_3 . class , STRING_3 , STRING_4 , STRING_5 , STRING_6 ) ; if ( IDENT_12 > 0 ) { org . IDENT_2 . web . catalog . admin . service . impl . IDENT_10 . LOGGER . info ( STRING_7 , IDENT_12 , ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_11 ) ) ; } } catch ( final java . lang . Exception e ) { org . IDENT_2 . web . catalog . admin . service . impl . IDENT_10 . LOGGER . error ( STRING_8 , e . getMessage ( ) , e ) ; } finally { IDENT_5 = false ; } }
org . junit . Assert . assertFalse ( IDENT_5 )