@Test
    public void test_2() {
        when(this.request.getParameter("name")).thenReturn("valera");
        when(this.session.getAttribute("sessionId")).thenReturn(0L);
        when(this.userSession.getName()).thenReturn("valera");
        when(this.userSession.getSessionId()).thenReturn(0L);
        when(this.userSession.isComplete()).thenReturn(true);
        when(this.sessionService.getUserInfo(0L)).thenReturn(this.userSession);

        String strPage = this.testInstance.handlePOST(this.request);
        //System.out.println(strPage);
        String ErrText = "Error in handling get with authorizing of user: ";

        int checkPage = strPage.indexOf("Ждите авторизации.");
        Assert.assertNotSame(ErrText, checkPage, -1);

        //--------------
        strPage = this.testInstance.handleGET(this.request);
        //System.out.println(strPage);

        ErrText = "Error in handling get with authorizing of user: ";

        int checkPage_1 = strPage.indexOf("Здравствуйте");
        int checkPage_2 = strPage.indexOf("ваш userId:");
        Assert.assertNotSame(ErrText, checkPage_1, -1);
        Assert.assertNotSame(ErrText, checkPage_2, -1);
    }