@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.setExtractPayload(false);
		adapter.afterPropertiesSet();
	}
Integration test of {@link RedisQueueOutboundChannelAdapter}

@author Jennifer Hickey
@author Gary Russell
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/integration/redis/RedisQueueOutboundChannelAdapterTests.java