METHOD_0 ( ) { final org . apache . cxf . message . Message message = mock ( org . apache . cxf . message . Message . class ) ; final java . lang . String URL = STRING_0 ; when ( message . get ( Message . IDENT_0 ) ) . thenReturn ( false ) ; when ( message . get ( Message . IDENT_1 ) ) . thenReturn ( URL ) ; gov . hhs . fha . nhinc . IDENT_2 . cxf . IDENT_3 IDENT_4 = new gov . hhs . fha . nhinc . IDENT_2 . cxf . METHOD_1 ( ) ; java . lang . String resource = IDENT_4 . getResource ( message ) ; "<AssertPlaceHolder>" ; } getResource ( IDENT_5 . IDENT_6 . tc . IDENT_7 . IDENT_8 . context . schema . IDENT_9 . IDENT_10 ) { if ( IDENT_11 == null ) { throw new java . lang . METHOD_2 ( STRING_1 ) ; } IDENT_5 . IDENT_6 . tc . IDENT_7 . IDENT_8 . context . schema . IDENT_9 . IDENT_12 resource ; if ( ( ( IDENT_11 . getResource ( ) ) != null ) && ( ! ( IDENT_11 . getResource ( ) . isEmpty ( ) ) ) ) { resource = IDENT_11 . getResource ( ) . get ( 0 ) ; } else { resource = new IDENT_5 . IDENT_6 . tc . IDENT_7 . IDENT_8 . context . schema . IDENT_9 . METHOD_3 ( ) ; IDENT_11 . getResource ( ) . add ( resource ) ; } return resource ; }
org . junit . Assert . assertEquals ( resource , URL )