use of com.opentext.ia.sdk.client.impl.DefaultQueryResult in project infoarchive-sip-sdk by Enterprise-Content-Management.
the class WhenWorkingWithQueryResult method shouldCloseStreamAndDependentResource.
@Test
void shouldCloseStreamAndDependentResource() throws IOException {
// NOPMD by design
DefaultQueryResult result = newQueryResult();
result.close();
verify(stream).close();
verify(dependentResource).close();
}
Aggregations