METHOD_0 ( ) { java . lang . String json = STRING_0 ; org . eclipse . rap . rwt . internal . protocol . Message message = new org . eclipse . rap . rwt . internal . protocol . Message ( org . eclipse . rap . json . IDENT_0 . METHOD_1 ( json ) ) ; message . METHOD_2 ( ) . set ( "foo" , INT_0 ) ; "<AssertPlaceHolder>" ; } add ( IDENT_1 , org . osgi . framework . IDENT_2 ) { org . eclipse . rap . rwt . osgi . internal . IDENT_3 . IDENT_4 < IDENT_1 > result = find ( service ) ; if ( result == null ) { result = new org . eclipse . rap . rwt . osgi . internal . IDENT_3 . IDENT_4 < > ( service , reference ) ; services . add ( result ) ; } else if ( ( reference != null ) && ( ( result . IDENT_5 ) == null ) ) { result . METHOD_3 ( reference ) ; } return result ; }
org . junit . Assert . assertEquals ( new org . eclipse . rap . json . METHOD_4 ( ) . add ( "foo" , INT_0 ) , message . METHOD_2 ( ) )