METHOD_0 ( ) { final com . couchbase . client . java . IDENT_0 . IDENT_1 IDENT_2 = IDENT_0 . METHOD_1 ( ) ; final com . couchbase . client . java . view . IDENT_3 view = com . couchbase . client . java . view . IDENT_4 . create ( STRING_0 , org . apache . commons . io . IDENT_5 . toString ( getClass ( ) . getResourceAsStream ( STRING_1 ) ) ) ; final com . couchbase . client . java . view . IDENT_6 document = com . couchbase . client . java . view . IDENT_6 . create ( STRING_2 , com . google . common . collect . ImmutableList . of ( view ) ) ; try { METHOD_1 . METHOD_2 ( document ) ; repository . save ( person ) ; final java . lang . IDENT_7 < com . github . IDENT_8 . IDENT_9 . repository . couchbase . it . Person > found = repository . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } finally { METHOD_1 . METHOD_4 ( document . name ( ) ) ; } } METHOD_3 ( ) { return METHOD_5 ( IDENT_10 . METHOD_3 ( ) . toList ( ) ) . METHOD_6 ( ) ; }
org . junit . Assert . assertEquals ( com . google . common . collect . ImmutableList . of ( person ) , found )