METHOD_0 ( ) { com . spotify . IDENT_0 . datamodel . IDENT_1 remote = com . spotify . IDENT_0 . IDENT_2 . METHOD_1 ( STRING_0 ) . fields ( com . google . common . collect . IDENT_3 . of ( com . spotify . IDENT_0 . IDENT_2 . METHOD_2 ( com . spotify . IDENT_0 . IDENT_2 . IDENT_4 , STRING_1 ) ) ) . build ( ) ; com . google . common . collect . ImmutableMap < com . spotify . IDENT_0 . datamodel . IDENT_5 , com . spotify . IDENT_0 . datamodel . IDENT_6 > methods = com . spotify . IDENT_0 . IDENT_2 . METHOD_3 ( com . spotify . IDENT_0 . IDENT_2 . METHOD_4 ( false , com . spotify . IDENT_0 . IDENT_2 . IDENT_7 , "foo" ) . METHOD_5 ( com . google . common . collect . IDENT_3 . of ( com . spotify . IDENT_0 . IDENT_2 . METHOD_6 ( com . spotify . IDENT_0 . IDENT_2 . IDENT_4 , STRING_1 , STRING_0 , 12 ) ) ) . build ( ) ) ; com . spotify . IDENT_0 . datamodel . IDENT_1 root = com . spotify . IDENT_0 . IDENT_2 . METHOD_1 ( STRING_2 ) . methods ( methods ) . build ( ) ; com . google . common . collect . IDENT_3 < com . spotify . IDENT_0 . datamodel . IDENT_1 > IDENT_8 = com . google . common . collect . IDENT_3 . of ( root ) ; com . google . common . collect . ImmutableMap < com . spotify . IDENT_0 . datamodel . IDENT_9 , com . spotify . IDENT_0 . datamodel . IDENT_1 > IDENT_10 = com . spotify . IDENT_0 . IDENT_2 . METHOD_7 ( root , remote ) ; com . google . common . collect . IDENT_3 < com . spotify . IDENT_0 . datamodel . IDENT_11 > IDENT_12 = com . spotify . IDENT_0 . IDENT_13 . METHOD_8 ( IDENT_8 , IDENT_10 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( com . google . common . collect . IDENT_14 , java . util . Map ) { java . util . IDENT_15 < com . spotify . IDENT_0 . datamodel . IDENT_1 > IDENT_16 = new java . util . METHOD_9 ( values ) ; java . util . Set < com . spotify . IDENT_0 . datamodel . IDENT_9 > IDENT_12 = com . google . common . collect . IDENT_17 . METHOD_10 ( ) ; while ( ! ( IDENT_16 . isEmpty ( ) ) ) { com . spotify . IDENT_0 . datamodel . IDENT_1 IDENT_18 = IDENT_16 . remove ( ) ; if ( ! ( IDENT_12 . add ( IDENT_18 . METHOD_11 ( ) ) ) ) { continue ; } IDENT_16 . addAll ( IDENT_18 . METHOD_12 ( ) . stream ( ) . map ( IDENT_19 :: get ) . filter ( ( IDENT_20 ) -> IDENT_20 != null ) . collect ( toList ( ) ) ) ; IDENT_16 . addAll ( IDENT_18 . METHOD_13 ( ) . stream ( ) . map ( IDENT_19 :: get ) . filter ( ( IDENT_20 ) -> IDENT_20 != null ) . collect ( toList ( ) ) ) ; IDENT_16 . addAll ( IDENT_18 . methods ( ) . values ( ) . stream ( ) . METHOD_14 ( ( IDENT_21 ) -> IDENT_21 . METHOD_15 ( ) . stream ( ) ) . map ( IDENT_22 :: IDENT_23 ) . filter ( ( IDENT_24 ) -> ! ( IDENT_12 . contains ( IDENT_24 ) ) ) . map ( IDENT_19 :: get ) . filter ( ( IDENT_20 ) -> IDENT_20 != null ) . collect ( toList ( ) ) ) ; IDENT_16 . addAll ( IDENT_18 . methods ( ) . values ( ) . stream ( ) . METHOD_14 ( ( IDENT_21 ) -> IDENT_21 . METHOD_5 ( ) . stream ( ) ) . map ( IDENT_25 :: IDENT_23 ) . filter ( ( IDENT_24 ) -> ! ( IDENT_12 . contains ( IDENT_24 ) ) ) . map ( IDENT_19 :: get ) . filter ( ( IDENT_20 ) -> IDENT_20 != null ) . collect ( toList ( ) ) ) ; } return com . google . common . collect . IDENT_3 . METHOD_16 ( IDENT_12 ) ; }
org . junit . Assert . assertEquals ( com . google . common . collect . IDENT_3 . of ( root . METHOD_11 ( ) , remote . METHOD_11 ( ) ) , IDENT_12 )