METHOD_0 ( ) { org . IDENT_0 . api . mockito . IDENT_1 . METHOD_1 ( com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_5 . class ) ; when ( com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_5 . METHOD_2 ( ) ) . thenReturn ( STRING_0 ) ; org . springframework . http . IDENT_6 < java . lang . Object > response = new org . springframework . http . METHOD_3 ( org . springframework . http . IDENT_7 . IDENT_8 ) ; com . vmware . IDENT_2 . IDENT_3 . rest . factory . IDENT_9 < ? > IDENT_10 = mock ( com . vmware . IDENT_2 . IDENT_3 . rest . factory . IDENT_9 . class ) ; METHOD_4 ( com . vmware . IDENT_2 . IDENT_3 . rest . factory . IDENT_9 . class ) . METHOD_5 ( ) . thenReturn ( IDENT_10 ) ; when ( IDENT_10 . METHOD_6 ( IDENT_11 . IDENT_12 , Constants . IDENT_13 , java . lang . Object . class ) ) . thenReturn ( response ) ; boolean status = com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_14 . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_14 . logger . debug ( STRING_1 ) ; java . lang . String IDENT_15 = com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_5 . METHOD_2 ( ) ; if ( IDENT_15 != null ) { try { java . util . Map < java . lang . String , java . lang . Object [ ] > IDENT_16 = com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_14 . METHOD_8 ( IDENT_15 ) ; com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_17 . METHOD_9 ( IDENT_16 ) ; com . vmware . IDENT_2 . IDENT_3 . rest . factory . IDENT_9 < java . util . Map < java . lang . String , java . lang . Object [ ] > > IDENT_18 = new com . vmware . IDENT_2 . IDENT_3 . rest . factory . IDENT_9 < java . util . Map < java . lang . String , java . lang . Object [ ] > > ( IDENT_16 ) ; org . springframework . http . METHOD_3 < java . lang . Object > response = IDENT_18 . METHOD_6 ( IDENT_11 . IDENT_12 , Constants . IDENT_13 , java . lang . Object . class ) ; if ( ( response != null ) && ( ( response . getStatusCode ( ) ) == ( org . springframework . http . IDENT_7 . IDENT_8 ) ) ) { com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_14 . logger . info ( STRING_2 ) ; return true ; } java . lang . String IDENT_19 = java . lang . String . format ( STRING_3 , response , Constants . IDENT_13 ) ; com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_14 . logger . error ( IDENT_19 ) ; } catch ( java . lang . Throwable e ) { com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_14 . logger . error ( STRING_4 , e ) ; } } else { java . lang . String err = java . lang . String . format ( STRING_5 , IDENT_15 ) ; com . vmware . IDENT_2 . IDENT_3 . IDENT_4 . util . IDENT_14 . logger . error ( err ) ; } return false ; }
org . junit . Assert . assertTrue ( status )