use of org.codice.alliance.nsili.common.UCO.RequestDescription in project alliance by codice.
the class SubmitStandingQueryRequestImplTest method testSetUserInfo.
@Test
public void testSetUserInfo() throws InvalidInputParameter, SystemFault, ProcessingFault {
String testUser = "test";
standingQueryRequest.set_user_info(testUser);
RequestDescription requestDescription = standingQueryRequest.get_request_description();
assertThat(testUser, is(requestDescription.user_info));
}
use of org.codice.alliance.nsili.common.UCO.RequestDescription in project alliance by codice.
the class OrderRequestImplTest method getRequestDescription.
@Test
public void getRequestDescription() throws SystemFault, ProcessingFault {
OrderContents order = getUncompressedTestOrder();
OrderRequestImpl orderRequest = new OrderRequestImpl(order, PROTOCOL, PORT, accessManager, mockCatalogFramework, emailConfiguration);
RequestDescription requestDescription = orderRequest.get_request_description();
assertThat(requestDescription, notNullValue());
}
Aggregations