@Test
public void testWithdrawAuth() throws Exception
{

    new NonStrictExpectations(AuthorizeUtil.class)
    {{
        // Allow Item withdraw permissions
        AuthorizeUtil.authorizeWithdrawItem((Context) any, (Item) any);
            result = null;
    }};
    new NonStrictExpectations(authorizeService.getClass())
    {{
            authorizeService.authorizeAction((Context) any, (Item) any,
                        Constants.WRITE); result = null;
    }};
    itemService.withdraw(context, it);
    assertTrue("testWithdrawAuth 0", it.isWithdrawn());
}