METHOD_0 ( ) { io . IDENT_0 . cloud . IDENT_1 . fixture . IDENT_2 IDENT_3 = io . IDENT_0 . cloud . IDENT_1 . fixture . IDENT_2 . builder ( ) . METHOD_1 ( STRING_0 ) . METHOD_2 ( 0 ) . METHOD_3 ( STRING_1 ) . type ( IDENT_4 . IDENT_5 ) . METHOD_4 ( java . util . UUID . METHOD_5 ( ) . toString ( ) ) . build ( ) ; io . IDENT_0 . cloud . IDENT_1 . fixture . IDENT_2 IDENT_6 = io . IDENT_0 . cloud . IDENT_1 . fixture . IDENT_2 . builder ( ) . METHOD_1 ( STRING_0 ) . METHOD_2 ( 1 ) . METHOD_3 ( STRING_2 ) . type ( IDENT_4 . IDENT_7 ) . METHOD_4 ( java . util . UUID . METHOD_5 ( ) . toString ( ) ) . build ( ) ; when ( IDENT_8 . METHOD_6 ( IDENT_9 . IDENT_10 ) ) . thenReturn ( java . util . Collections . singletonList ( STRING_0 ) ) ; when ( IDENT_8 . METHOD_6 ( io . IDENT_0 . cloud . IDENT_1 . state . IDENT_11 . IDENT_9 . METHOD_7 ( STRING_0 ) ) ) . thenReturn ( java . util . Arrays . asList ( IDENT_3 . METHOD_8 ( ) , IDENT_6 . METHOD_8 ( ) ) ) ; when ( IDENT_8 . get ( io . IDENT_0 . cloud . IDENT_1 . state . IDENT_11 . IDENT_9 . METHOD_9 ( IDENT_3 . METHOD_8 ( ) ) ) ) . thenReturn ( IDENT_3 . METHOD_10 ( ) ) ; when ( IDENT_8 . get ( io . IDENT_0 . cloud . IDENT_1 . state . IDENT_11 . IDENT_9 . METHOD_9 ( IDENT_6 . METHOD_8 ( ) ) ) ) . thenReturn ( IDENT_6 . METHOD_10 ( ) ) ; IDENT_12 . start ( ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { java . util . List < java . lang . String > IDENT_13 = IDENT_8 . METHOD_6 ( IDENT_9 . IDENT_10 ) ; for ( java . lang . String IDENT_14 : IDENT_13 ) { if ( ! ( io . IDENT_0 . cloud . IDENT_1 . state . IDENT_11 . IDENT_15 . IDENT_16 . containsKey ( IDENT_14 ) ) ) { remove ( IDENT_14 ) ; } } java . util . Set < io . IDENT_0 . cloud . context . IDENT_17 > result = com . google . common . collect . IDENT_18 . METHOD_12 ( ) ; for ( Map . Entry < java . lang . String , java . util . Set < io . IDENT_0 . cloud . context . IDENT_17 > > IDENT_14 : io . IDENT_0 . cloud . IDENT_1 . state . IDENT_11 . IDENT_15 . IDENT_16 . entrySet ( ) ) { if ( METHOD_13 ( IDENT_14 . getKey ( ) ) ) { result . addAll ( IDENT_14 . getValue ( ) ) ; } } return result ; }
org . junit . Assert . assertThat ( IDENT_12 . METHOD_11 ( ) . size ( ) , org . hamcrest . core . Is . is ( 2 ) )