Assert.assertTrue(local.getAttributeNames().contains("foo"));
Assert.assertFalse(local.getAttributeNames().contains("bar"));
Assert.assertFalse(session.getAttributeNames().contains("foo"));
Assert.assertTrue(session.getAttributeNames().contains("bar"));
Assert.assertEquals("bar",local.removeAttribute("foo"));
Assert.assertEquals(null,local.removeAttribute("foo"));
Assert.assertEquals("foo",session.removeAttribute("bar"));
Assert.assertEquals(null,local.removeAttribute("bar"));
}