@Test
public void testSetActionInContentType() throws Exception {

	String soapAction = "http://springframework.org/spring-ws/Action";
	String contentType = "application/soap+xml";
	String result = SoapUtils.setActionInContentType(contentType, soapAction);
	Assert.assertEquals("Invalid SOAP action", soapAction, SoapUtils.extractActionFromContentType(result));
	String anotherSoapAction = "http://springframework.org/spring-ws/AnotherAction";
	String contentTypeWithAction = "application/soap+xml; action=http://springframework.org/spring-ws/Action";
	result = SoapUtils.setActionInContentType(contentTypeWithAction, anotherSoapAction);
	Assert.assertEquals("Invalid SOAP action", anotherSoapAction, SoapUtils.extractActionFromContentType(result));
}