@Test
	public void testHeaderEmbeddingMissingHeader() throws Exception {
		EmbeddedHeadersMessageConverter converter = new EmbeddedHeadersMessageConverter();
		Message<byte[]> message = MessageBuilder.withPayload("Hello".getBytes())
				.setHeader("foo", "bar")
				.build();
		byte[] embedded = converter.embedHeaders(new MessageValues(message), "foo", "baz");
		assertEquals(0xff, embedded[0] & 0xff);
		assertEquals("\u0001\u0003foo\u0000\u0000\u0000\u0005\"bar\"Hello",
				new String(embedded).substring(1));
	}
@author Gary Russell
@author Artem Bilan
@since 1.0
spring-xd-messagebus-spi/src/test/java/org/springframework/xd/dirt/integration/bus/MessageConverterTests.java