@Test
public void testIgnoreAuthorization() 
{

    // Turn off authorization
    context.turnOffAuthorisationSystem();
    assertThat("testIgnoreAuthorization 0", context.ignoreAuthorization(), equalTo(true));
    
    // Turn it back on
    context.restoreAuthSystemState();
    assertThat("testIgnoreAuthorization 1", context.ignoreAuthorization(), equalTo(false));
}