METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 controller = new IDENT_0 . IDENT_1 . METHOD_1 ( ) ; this . METHOD_2 ( ) ; javax . servlet . http . IDENT_3 request = mock ( javax . servlet . http . IDENT_3 . class ) ; javax . servlet . http . IDENT_4 response = mock ( javax . servlet . http . IDENT_4 . class ) ; when ( request . METHOD_3 ( STRING_0 ) ) . thenReturn ( "test" ) ; when ( request . METHOD_3 ( "name" ) ) . thenReturn ( STRING_1 ) ; when ( request . METHOD_3 ( STRING_2 ) ) . thenReturn ( STRING_3 ) ; when ( request . METHOD_3 ( STRING_4 ) ) . thenReturn ( STRING_5 ) ; when ( request . METHOD_3 ( STRING_6 ) ) . thenReturn ( STRING_7 ) ; controller . METHOD_4 ( request , response ) ; IDENT_0 . models . User user = IDENT_0 . IDENT_5 . getInstance ( ) . METHOD_5 ( "test" , STRING_5 ) ; "<AssertPlaceHolder>" ; verify ( request , METHOD_6 ( 1 ) ) . METHOD_3 ( STRING_0 ) ; verify ( request , METHOD_6 ( 1 ) ) . METHOD_3 ( "name" ) ; verify ( request , METHOD_6 ( 1 ) ) . METHOD_3 ( STRING_2 ) ; verify ( request , METHOD_6 ( 1 ) ) . METHOD_3 ( STRING_4 ) ; verify ( request , METHOD_6 ( 1 ) ) . METHOD_3 ( STRING_6 ) ; } getName ( ) { return name ; }
org . junit . Assert . assertEquals ( STRING_1 , user . getName ( ) )