e.setContainedSet(s);
}
@Test
public void encrypt() {
ContainerEntity x = cipherer.encrypt(e);
assertEquals("Surname is not encrypted", "yyyyy", x.getSurname());
assertFalse("Name is encrypted", "xxxx".equals(x.getSurname()));
assertEquals("Surname is not encrypted in map", "yyyyy", x.getContainedMap().get("a").getSurname());
assertFalse("Name is encrypted in map", "zzzzz".equals(x.getContainedMap().get("a").getSurname()));
assertEquals("Surname is not encrypted in list", "yyyyy", x.getContainedList().get(0).getSurname());
assertFalse("Name is encrypted in list", "ooooo".equals(x.getContainedList().get(0).getSurname()));
assertEquals("Surname is not encrypted in set", "yyyyy", x.getContainedSet().iterator().next().getSurname());
assertFalse("Name is encrypted in set", "uuuuu".equals(x.getContainedSet().iterator().next().getSurname()));
}