METHOD_0 ( ) { org . springframework . http . IDENT_0 IDENT_1 = mock ( org . springframework . http . IDENT_0 . class ) ; com . vmware . IDENT_2 . IDENT_3 . rest . factory . IDENT_4 IDENT_5 = mock ( com . vmware . IDENT_2 . IDENT_3 . rest . factory . IDENT_4 . class ) ; METHOD_1 ( com . vmware . IDENT_2 . IDENT_3 . rest . factory . IDENT_4 . class ) . METHOD_2 ( ) . thenReturn ( IDENT_5 ) ; when ( IDENT_5 . METHOD_3 ( any ( org . springframework . http . IDENT_6 . class ) , anyString ( ) , anyString ( ) , any ( java . lang . Class . class ) ) ) . thenReturn ( IDENT_1 ) ; com . vmware . IDENT_2 . IDENT_3 . controller . IDENT_7 IDENT_8 = new com . vmware . IDENT_2 . IDENT_3 . controller . METHOD_4 ( ) ; javax . servlet . http . IDENT_9 IDENT_10 = mock ( javax . servlet . http . IDENT_9 . class ) ; javax . servlet . http . IDENT_11 IDENT_12 = mock ( javax . servlet . http . IDENT_11 . class ) ; when ( IDENT_10 . METHOD_5 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_10 . METHOD_6 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_10 . METHOD_7 ( ) ) . thenReturn ( "test" ) ; when ( IDENT_10 . METHOD_8 ( ) ) . thenReturn ( STRING_1 ) ; org . springframework . http . IDENT_0 response = IDENT_8 . METHOD_9 ( STRING_2 , STRING_3 , null , IDENT_6 . IDENT_13 , IDENT_10 , IDENT_12 ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( java . lang . String , java . lang . String , java . lang . String , org . springframework . http . IDENT_6 , javax . servlet . http . IDENT_9 , javax . servlet . http . IDENT_11 ) { try { if ( ( com . vmware . IDENT_2 . IDENT_3 . IDENT_14 . IDENT_15 . getInstance ( ) . METHOD_10 ( IDENT_16 ) ) != null ) { com . vmware . IDENT_2 . IDENT_3 . common . IDENT_17 . api . IDENT_18 IDENT_19 = com . vmware . IDENT_2 . IDENT_3 . common . IDENT_17 . api . IDENT_18 . valueOf ( action ) ; com . vmware . IDENT_2 . IDENT_3 . common . IDENT_17 . api . IDENT_20 node = com . vmware . IDENT_2 . IDENT_3 . IDENT_14 . IDENT_15 . getInstance ( ) . METHOD_11 ( ) . get ( IDENT_16 ) ; node . METHOD_12 ( IDENT_19 ) ; com . vmware . IDENT_2 . IDENT_3 . common . IDENT_21 . IDENT_22 IDENT_23 = new com . vmware . IDENT_2 . IDENT_3 . common . IDENT_21 . METHOD_13 ( ) ; IDENT_23 . METHOD_14 ( java . lang . String . format ( STRING_4 , IDENT_16 , IDENT_19 ) ) ; IDENT_23 . METHOD_15 ( IDENT_24 . IDENT_25 . value ( ) ) ; return new org . springframework . http . IDENT_0 < java . lang . Object > ( IDENT_23 , org . springframework . http . IDENT_24 . IDENT_25 ) ; } else throw new com . vmware . IDENT_2 . IDENT_3 . common . exception . METHOD_16 ( Status . IDENT_26 . getStatusCode ( ) , STRING_5 , ( STRING_6 + IDENT_16 ) ) ; } catch ( java . lang . IllegalArgumentException e ) { com . vmware . IDENT_2 . IDENT_3 . controller . METHOD_4 . logger . info ( STRING_7 ) ; } return METHOD_17 ( body , method , request , response ) ; }
org . junit . Assert . assertSame ( IDENT_1 , response )