@Test
public void testSetAsTextLocale() throws Exception {

	editor.setAsText("Server, Server error, nl");
	SoapFaultDefinition definition = (SoapFaultDefinition) editor.getValue();
	Assert.assertNotNull("fault not set", definition);
	Assert.assertEquals("Invalid fault code", new QName("Server"), definition.getFaultCode());
	Assert.assertEquals("Invalid fault string", "Server error", definition.getFaultStringOrReason());
	Assert.assertEquals("Invalid fault string locale", new Locale("nl"), definition.getLocale());
}