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 . mongodb . impl . IDENT_3 platform = mock ( com . gs . IDENT_0 . mongodb . impl . IDENT_3 . class ) ; when ( platform . METHOD_0 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( IDENT_2 ) ; when ( platform . METHOD_1 ( ) ) . thenReturn ( org . eclipse . collections . impl . block . factory . IDENT_4 . METHOD_2 ( ) ) ; com . gs . IDENT_0 . mongodb . api . IDENT_5 . IDENT_6 IDENT_7 = mock ( com . gs . IDENT_0 . mongodb . api . IDENT_5 . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( platform ) ; when ( IDENT_7 . METHOD_4 ( ) ) . thenReturn ( IDENT_8 . IDENT_9 . of ( new com . gs . IDENT_0 . api . IDENT_5 . METHOD_5 ( STRING_1 ) ) ) ; when ( IDENT_7 . METHOD_6 ( STRING_2 ) ) . thenReturn ( new com . gs . IDENT_0 . api . IDENT_5 . METHOD_5 ( STRING_1 ) ) ; com . gs . IDENT_0 . mongodb . impl . IDENT_10 IDENT_11 = new com . gs . IDENT_0 . mongodb . impl . METHOD_7 ( IDENT_12 , IDENT_7 ) ; com . gs . IDENT_0 . api . IDENT_5 . IDENT_13 exec = new com . gs . IDENT_0 . api . IDENT_5 . METHOD_8 ( STRING_3 , STRING_4 , STRING_2 , STRING_5 , new java . sql . METHOD_9 ( new java . util . Date ( ) . getTime ( ) ) , false , false , STRING_5 , STRING_6 , IDENT_8 . IDENT_9 . < com . gs . IDENT_0 . api . IDENT_5 . IDENT_14 > empty ( ) ) ; when ( IDENT_7 . METHOD_6 ( STRING_1 ) ) . thenReturn ( new com . gs . IDENT_0 . api . IDENT_5 . METHOD_5 ( STRING_1 ) ) ; IDENT_11 . METHOD_10 ( exec , new com . gs . IDENT_0 . api . IDENT_5 . METHOD_5 ( STRING_1 ) ) ; org . eclipse . collections . api . collection . IDENT_15 < com . gs . IDENT_0 . api . IDENT_5 . IDENT_16 > IDENT_17 = IDENT_11 . METHOD_11 ( STRING_1 ) ; "<AssertPlaceHolder>" ; IDENT_11 . update ( IDENT_17 . METHOD_12 ( ) ) ; } METHOD_11 ( java . lang . String ) { com . gs . IDENT_0 . api . IDENT_5 . METHOD_5 IDENT_18 = IDENT_7 . METHOD_6 ( schema ) ; com . mongodb . client . IDENT_19 database = IDENT_12 . METHOD_13 ( IDENT_18 . METHOD_14 ( ) ) ; com . mongodb . client . IDENT_20 < org . bson . Document > IDENT_21 = database . METHOD_15 ( IDENT_22 ) ; return com . gs . IDENT_0 . mongodb . impl . IDENT_23 . METHOD_16 ( IDENT_21 . find ( ) ) . collect ( new org . eclipse . collections . api . block . function . IDENT_24 < org . bson . Document , com . gs . IDENT_0 . api . IDENT_5 . IDENT_16 > ( ) { @ com . gs . IDENT_0 . mongodb . impl . Override public com . gs . IDENT_0 . api . IDENT_5 . IDENT_16 valueOf ( org . bson . Document doc ) { org . eclipse . collections . api . list . IDENT_25 < org . bson . Document > IDENT_26 = org . eclipse . collections . impl . list . mutable . IDENT_27 . METHOD_17 ( doc . get ( STRING_7 , java . util . List . class ) ) ; org . eclipse . collections . api . list . IDENT_25 < com . gs . IDENT_0 . api . IDENT_5 . IDENT_14 > IDENT_28 = IDENT_26 . collect ( new org . eclipse . collections . api . block . function . IDENT_24 < org . bson . Document , com . gs . IDENT_0 . api . IDENT_5 . IDENT_14 > ( ) { @ com . gs . IDENT_0 . mongodb . impl . Override public com . gs . IDENT_0 . api . IDENT_5 . IDENT_14 valueOf ( org . bson . Document object ) { return new com . gs . IDENT_0 . api . IDENT_5 . METHOD_18 ( object . getString ( IDENT_29 ) , object . getString ( IDENT_30 ) ) ; } } ) ; com . gs . IDENT_0 . api . IDENT_5 . METHOD_8 exec = new com . gs . IDENT_0 . api . IDENT_5 . METHOD_8 ( doc . getString ( IDENT_31 ) , doc . getString ( IDENT_32 ) , doc . getString ( IDENT_33 ) , doc . getString ( IDENT_34 ) , new java . sql . METHOD_9 ( doc . METHOD_19 ( IDENT_35 ) . getTime ( ) ) , doc . METHOD_20 ( IDENT_36 ) , doc . METHOD_20 ( IDENT_37 ) , doc . getString ( IDENT_38 ) , doc . getString ( IDENT_39 ) , IDENT_28 . METHOD_21 ( ) . METHOD_22 ( ) ) ; exec . setId ( doc . METHOD_23 ( IDENT_40 ) ) ; return exec ; } } ) . METHOD_22 ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_17 . size ( ) )