METHOD_0 ( ) { com . streamsets . pipeline . lib . http . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( com . streamsets . pipeline . lib . http . IDENT_0 . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( 1 ) ; com . streamsets . pipeline . lib . http . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( com . streamsets . pipeline . lib . http . IDENT_2 . class ) ; com . streamsets . pipeline . lib . IDENT_4 . IDENT_5 . IDENT_6 source = new com . streamsets . pipeline . lib . IDENT_4 . IDENT_5 . METHOD_2 ( IDENT_1 , IDENT_3 ) ; source = org . mockito . Mockito . METHOD_3 ( source ) ; com . streamsets . pipeline . api . IDENT_7 . Context context = org . mockito . Mockito . mock ( IDENT_7 . Context . class ) ; org . mockito . Mockito . when ( context . METHOD_4 ( ) ) . thenReturn ( com . google . common . collect . ImmutableList . of ( com . streamsets . pipeline . sdk . IDENT_8 . METHOD_5 ( "test" , 1 , "test" ) ) ) ; org . mockito . Mockito . doReturn ( context ) . when ( source ) . METHOD_6 ( ) ; source . init ( ) ; org . mockito . Mockito . METHOD_7 ( ) . when ( source ) . METHOD_8 ( org . mockito . Mockito . METHOD_9 ( ) ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_1 , org . mockito . Mockito . times ( 3 ) ) . METHOD_1 ( ) ; org . mockito . Mockito . doReturn ( true ) . when ( context ) . METHOD_10 ( ) ; source . METHOD_11 ( null , 0 ) ; org . mockito . Mockito . verify ( source , org . mockito . Mockito . METHOD_12 ( ) ) . METHOD_8 ( org . mockito . Mockito . eq ( INT_0 ) ) ; source . init ( ) ; org . mockito . Mockito . doReturn ( false ) . doReturn ( true ) . when ( context ) . METHOD_10 ( ) ; source . METHOD_11 ( null , 0 ) ; org . mockito . Mockito . verify ( source , org . mockito . Mockito . times ( 1 ) ) . METHOD_8 ( org . mockito . Mockito . eq ( INT_0 ) ) ; } METHOD_13 ( ) { return com . streamsets . pipeline . lib . IDENT_4 . IDENT_9 . METHOD_14 ( ) . METHOD_1 ( ) ; }
org . junit . Assert . assertEquals ( 1 , source . METHOD_13 ( ) )