@Test
public void testSetAsTextReceiver() throws Exception {

	editor.setAsText("RECEIVER, Server error");
	SoapFaultDefinition definition = (SoapFaultDefinition) editor.getValue();
	Assert.assertNotNull("fault not set", definition);
	Assert.assertEquals("Invalid fault code", SoapFaultDefinition.RECEIVER, definition.getFaultCode());
	Assert.assertEquals("Invalid fault string", "Server error", definition.getFaultStringOrReason());
}