@Test
public void testSegmentDocumentForDirect() {

	// Arrange
	expectedValueOfDSSRequestForDirect.setDocumentXml(DOCUMENT_XML_MOCK);
	expectedValueOfDSSRequestForDirect
	.setEnforcementPoliciesXml(ENFORCEMENT_POLICIES_XML_MOCK);
	expectedValueOfDSSRequestForDirect
	.setRecipientEmailAddress(RECIPIENT_EMAIL_ADDRESS);
	expectedValueOfDSSRequestForDirect
	.setSenderEmailAddress(SENDER_EMAIL_ADDRESS);
	expectedValueOfDSSRequestForDirect
	.setXdsDocumentEntryUniqueId(XDS_DOCUMENT_ENTRY_UNIQUEID);
	DSSPortTypeImpl.expectedValueOfDSSRequestForDirect = expectedValueOfDSSRequestForDirect;
	returnedValueOfDSSResponseForDirect
	.setSegmentedDocumentXml(SEGMENTED_DOCUMENT_XML_MOCK);
	DSSPortTypeImpl.returnedValueOfDSSResponseForDirect = returnedValueOfDSSResponseForDirect;
	// Act
	final String actualResponse = sut.segmentDocumentForDirect(
			expectedValueOfDSSRequestForDirect).getSegmentedDocumentXml();
	// Assert
	assertEquals(SEGMENTED_DOCUMENT_XML_MOCK, actualResponse);
}