@Test
public void testToName() throws Exception {

	SOAPMessage message = messageFactory.createMessage();
	QName qName = new QName("localPart");
	SOAPEnvelope envelope = message.getSOAPPart().getEnvelope();
	Name name = SaajUtils.toName(qName, envelope);
	Assert.assertNotNull("Invalid name", name);
	Assert.assertEquals("Invalid local part", qName.getLocalPart(), name.getLocalName());
	Assert.assertFalse("Invalid prefix", StringUtils.hasLength(name.getPrefix()));
	Assert.assertFalse("Invalid namespace", StringUtils.hasLength(name.getURI()));
}