@Test(expected = IllegalArgumentException.class)
public void testNoSerializerNoExtractPayload() throws Exception {
RedisTemplate<String, byte[]> template = new RedisTemplate<String, byte[]>();
template.setEnableDefaultSerializer(false);
template.setKeySerializer(new StringRedisSerializer());
template.setConnectionFactory(connectionFactory);
template.afterPropertiesSet();
adapter.setSerializer(null);
adapter.setExpectMessage(true);