METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . client . core . IDENT_2 IDENT_3 = mock ( com . IDENT_0 . IDENT_1 . client . core . IDENT_2 . class ) ; com . IDENT_0 . IDENT_1 . client . core . IDENT_4 node = mock ( com . IDENT_0 . IDENT_1 . client . core . IDENT_4 . class ) ; com . IDENT_0 . IDENT_1 . client . core . IDENT_4 . Builder IDENT_5 = METHOD_1 ( new com . IDENT_0 . IDENT_1 . client . core . IDENT_4 . Builder ( ) ) ; doReturn ( node ) . when ( IDENT_5 ) . build ( ) ; com . IDENT_0 . IDENT_1 . client . core . IDENT_6 cluster = new com . IDENT_0 . IDENT_1 . client . core . IDENT_6 . Builder ( IDENT_5 . build ( ) ) . METHOD_2 ( IDENT_3 ) . build ( ) ; cluster . METHOD_3 ( IDENT_5 . build ( ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 ) . METHOD_3 ( node ) ; } METHOD_4 ( ) { METHOD_5 ( com . IDENT_0 . IDENT_1 . client . core . IDENT_6 . IDENT_7 . IDENT_8 , com . IDENT_0 . IDENT_1 . client . core . IDENT_6 . IDENT_7 . IDENT_9 , com . IDENT_0 . IDENT_1 . client . core . IDENT_6 . IDENT_7 . IDENT_10 , com . IDENT_0 . IDENT_1 . client . core . IDENT_6 . IDENT_7 . IDENT_11 ) ; try { IDENT_12 . METHOD_6 ( ) . METHOD_7 ( ) ; return new com . IDENT_0 . IDENT_1 . client . core . ArrayList ( IDENT_13 ) ; } finally { IDENT_12 . METHOD_6 ( ) . METHOD_8 ( ) ; } }
org . junit . Assert . assertEquals ( 2 , cluster . METHOD_4 ( ) . size ( ) )