@Test
public void testReinstateAuth() throws Exception
{

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