assertThat(session.getAttribute("attribute1"), is((Object)"value1"));
}
@Test
public void shouldProvideAttributeNames() throws Exception {
session = repository.login(new AnonymousCredentials("attribute1", "value1"));
String[] names = session.getAttributeNames();
assertThat(names, notNullValue());
assertThat(names.length, is(1));
assertThat(names[0], is("attribute1"));
}