@Test
public void testBadKey() {

  EncryptingSerializerDeserializer serializer = new EncryptingSerializerDeserializer();
  exception.expectCause(isA(NullPointerException.class));
  serializer.initKey(null);
}