test ( ) { com . gs . IDENT_0 . api . platform . IDENT_1 IDENT_2 = mock ( com . gs . IDENT_0 . api . platform . IDENT_1 . class ) ; when ( IDENT_2 . getName ( ) ) . thenReturn ( STRING_0 ) ; com . gs . IDENT_0 . api . platform . IDENT_3 platform = mock ( com . gs . IDENT_0 . api . platform . IDENT_3 . class ) ; when ( platform . METHOD_0 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( IDENT_2 ) ; com . gs . IDENT_0 . mongodb . api . IDENT_4 . IDENT_5 IDENT_6 = mock ( com . gs . IDENT_0 . mongodb . api . IDENT_4 . IDENT_5 . class ) ; when ( IDENT_6 . METHOD_1 ( STRING_1 ) ) . thenReturn ( new com . gs . IDENT_0 . api . IDENT_4 . METHOD_2 ( STRING_1 ) ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( IDENT_7 . IDENT_8 . of ( new com . gs . IDENT_0 . api . IDENT_4 . METHOD_2 ( STRING_1 ) ) ) ; com . gs . IDENT_0 . mongodb . impl . IDENT_9 IDENT_10 = new com . gs . IDENT_0 . mongodb . impl . METHOD_4 ( IDENT_11 , IDENT_6 , platform , "test" ) ; com . gs . IDENT_0 . api . IDENT_4 . IDENT_12 exec = new com . gs . IDENT_0 . api . IDENT_4 . METHOD_5 ( STRING_2 , STRING_3 , STRING_4 , STRING_5 , new java . sql . METHOD_6 ( new java . util . Date ( ) . getTime ( ) ) , false , false , STRING_5 , STRING_6 , IDENT_7 . IDENT_8 . < com . gs . IDENT_0 . api . IDENT_4 . IDENT_13 > empty ( ) ) ; exec . setId ( 1L ) ; com . gs . IDENT_0 . api . IDENT_4 . IDENT_14 IDENT_15 = new com . gs . IDENT_0 . api . IDENT_4 . METHOD_7 ( IDENT_2 , STRING_1 , STRING_5 1 , STRING_7 , 0 , STRING_5 0 , STRING_8 ) ; IDENT_10 . METHOD_8 ( IDENT_15 , exec ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( ) { return IDENT_6 . METHOD_3 ( ) . METHOD_10 ( new org . eclipse . collections . api . block . function . IDENT_16 < com . gs . IDENT_0 . api . IDENT_4 . METHOD_2 , java . lang . IDENT_17 < com . gs . IDENT_0 . api . IDENT_4 . IDENT_14 > > ( ) { @ com . gs . IDENT_0 . mongodb . impl . Override public com . gs . IDENT_0 . mongodb . impl . IDENT_17 < com . gs . IDENT_0 . api . IDENT_4 . IDENT_14 > valueOf ( com . gs . IDENT_0 . api . IDENT_4 . METHOD_2 IDENT_18 ) { com . mongodb . client . IDENT_19 database = IDENT_11 . METHOD_11 ( IDENT_18 . METHOD_12 ( ) ) ; com . mongodb . client . IDENT_20 < org . bson . Document > IDENT_21 = database . METHOD_13 ( METHOD_14 ( ) ) ; org . eclipse . collections . api . list . IDENT_22 < com . gs . IDENT_0 . api . IDENT_4 . IDENT_14 > IDENT_23 = com . gs . IDENT_0 . mongodb . impl . METHOD_4 . METHOD_15 ( IDENT_21 . find ( ) ) . collect ( new org . eclipse . collections . api . block . function . IDENT_16 < org . bson . Document , com . gs . IDENT_0 . api . IDENT_4 . IDENT_14 > ( ) { @ com . gs . IDENT_0 . mongodb . impl . Override public com . gs . IDENT_0 . api . IDENT_4 . IDENT_14 valueOf ( org . bson . Document doc ) { java . lang . String IDENT_24 = doc . getString ( STRING_9 ) ; com . gs . IDENT_0 . api . IDENT_4 . IDENT_14 IDENT_25 ; if ( IDENT_24 . equals ( STRING_10 ) ) { IDENT_25 = new com . gs . IDENT_0 . api . IDENT_4 . METHOD_7 ( ) ; } else if ( IDENT_24 . equals ( STRING_11 ) ) { IDENT_25 = new com . gs . IDENT_0 . api . IDENT_4 . METHOD_16 ( ) ; } else { throw new java . lang . IllegalArgumentException ( ( STRING_12 + IDENT_24 ) ) ; } IDENT_25 . METHOD_17 ( new com . gs . IDENT_0 . api . IDENT_4 . METHOD_18 ( com . gs . IDENT_0 . util . IDENT_26 . IDENT_27 . instance ( ) . METHOD_19 ( doc . getString ( STRING_13 ) ) , platform . METHOD_0 ( doc . getString ( STRING_14 ) ) , com . gs . IDENT_0 . util . IDENT_26 . IDENT_27 . instance ( ) . METHOD_19 ( doc . getString ( STRING_15 ) ) , doc . getString ( IDENT_28 ) ) ) ; IDENT_25 . METHOD_20 ( ( ( doc . METHOD_21 ( STRING_16 ) ) == 1 ) ) ; IDENT_25 . METHOD_22 ( doc . getString ( STRING_17 ) ) ; IDENT_25 . METHOD_23 ( new java . sql . METHOD_6 ( doc . METHOD_24 ( IDENT_29 ) . getTime ( ) ) ) ; IDENT_25 . METHOD_25 ( new java . sql . METHOD_6 ( doc . METHOD_24 ( IDENT_30 ) . getTime ( ) ) ) ; IDENT_25 . METHOD_26 ( doc . getString ( IDENT_31 ) ) ; return IDENT_25 ; } } ) ; return IDENT_23 . METHOD_27 ( ) ; } } ) . toList ( ) . METHOD_27 ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_10 . METHOD_9 ( ) . size ( ) )