METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String > props = new java . util . HashMap ( IDENT_0 ) ; task . start ( props ) ; com . github . IDENT_1 . kafka . connect . fs . policy . IDENT_2 policy = org . easymock . EasyMock . METHOD_1 ( com . github . IDENT_1 . kafka . connect . fs . policy . IDENT_2 . class ) ; org . easymock . EasyMock . expect ( policy . METHOD_2 ( ) ) . andReturn ( Boolean . IDENT_3 ) ; org . easymock . EasyMock . expect ( policy . execute ( ) ) . METHOD_3 ( new org . apache . kafka . connect . errors . METHOD_4 ( STRING_0 ) ) ; org . easymock . EasyMock . expect ( policy . METHOD_5 ( ) ) . andReturn ( null ) ; org . easymock . EasyMock . METHOD_6 ( policy , false ) ; org . easymock . EasyMock . replay ( policy ) ; org . IDENT_4 . api . support . IDENT_5 . IDENT_6 . field ( com . github . IDENT_1 . kafka . connect . fs . IDENT_7 . class , STRING_1 ) . set ( task , policy ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { while ( ( ( ( IDENT_8 ) != null ) && ( ! ( IDENT_8 . get ( ) ) ) ) && ( ! ( policy . METHOD_2 ( ) ) ) ) { com . github . IDENT_1 . kafka . connect . fs . IDENT_7 . log . trace ( STRING_2 ) ; final com . github . IDENT_1 . kafka . connect . fs . List < org . apache . kafka . connect . source . IDENT_9 > results = new com . github . IDENT_1 . kafka . connect . fs . ArrayList ( ) ; com . github . IDENT_1 . kafka . connect . fs . List < com . github . IDENT_1 . kafka . connect . fs . file . IDENT_10 > IDENT_11 = METHOD_8 ( ) ; IDENT_11 . METHOD_9 ( ( metadata ) -> { try ( com . github . IDENT_1 . kafka . connect . fs . file . reader . IDENT_12 reader = policy . METHOD_10 ( metadata , com . github . IDENT_1 . kafka . connect . fs . context . METHOD_11 ( ) ) ) { com . github . IDENT_1 . kafka . connect . fs . IDENT_7 . log . info ( STRING_3 , metadata ) ; while ( reader . hasNext ( ) ) { results . add ( convert ( metadata , reader . METHOD_12 ( ) , reader . next ( ) ) ) ; } } catch ( org . apache . kafka . connect . errors . METHOD_4 | java . io . IOException e ) { com . github . IDENT_1 . kafka . connect . fs . IDENT_7 . log . error ( ( ( STRING_4 + ( metadata . getPath ( ) ) ) + STRING_5 ) , com . github . IDENT_1 . kafka . connect . fs . e ) ; } } ) ; return results ; } return null ; }
org . junit . Assert . assertEquals ( 0 , task . METHOD_7 ( ) . size ( ) )