	@Test
	public void build_createsAHandlerWithTheProvidedParameters() throws Exception {

		PartitionAwareJmsSendingMessageHandler handler = target.build(TOPIC_PARTITION_REGISTRAR);

		assertThat(ReflectionTestUtils.getField(handler, "jmsTemplate"), Matchers.<Object>is(jmsTemplate));
	}