public void someMethod() throws Exception {
        // null 
        when(request.getParameter("abc")).thenReturn(null);
        try {
            abc.manageIncome(request, response, nancy, null);
            fail();
        } catch(IllegalArgumentException ex) {}
        verify(nancy.manageIncome(request, response, nancy, "abc"));
    }
次のエラーが表示されますjava.lang.AssertionError。
修正方法は?モッキートを使用しています。