@Test
public void testNotFoundSecret() throws IOException, UnauthorizedException, NotFoundException {

	final AccessEnforcement accessEnforcement = ClientPermissionLoader
			.loadIniFile(new File("config/client/clients.config"));
	Assert.assertNotNull(accessEnforcement);
	try {
		accessEnforcement.enforceAccess(admin, "no-such-secret", Permissions.GENERATE);
		Assert.fail("Expected not found exception");
	} catch (NotFoundException expected) {
	}
}