Class DefaultResponseEntityExtractorUnitTest
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.monitoring.impl.DefaultResponseEntityExtractorUnitTest
-
@UnitTest public class DefaultResponseEntityExtractorUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultResponseEntityExtractorUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestBatchResponseWithOneBatchPartErrorAndOneSuccess()voidtestExtractSingleResponseThrowsIOExceptionWhenClosingStream()voidtestSingleBatchSingleChangesetSuccessResponse()voidtestSingleBatchTwoChangesets()voidtestSingleErrorResponse()voidtestSingleSuccessResponse()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testSingleBatchSingleChangesetSuccessResponse
public void testSingleBatchSingleChangesetSuccessResponse() throws org.apache.olingo.odata2.api.exception.ODataException- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-
testSingleSuccessResponse
public void testSingleSuccessResponse() throws org.apache.olingo.odata2.api.exception.ODataException- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-
testExtractSingleResponseThrowsIOExceptionWhenClosingStream
public void testExtractSingleResponseThrowsIOExceptionWhenClosingStream() throws org.apache.olingo.odata2.api.exception.ODataException, java.io.IOException- Throws:
org.apache.olingo.odata2.api.exception.ODataExceptionjava.io.IOException
-
testSingleErrorResponse
public void testSingleErrorResponse() throws org.apache.olingo.odata2.api.exception.ODataException- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-
testBatchResponseWithOneBatchPartErrorAndOneSuccess
public void testBatchResponseWithOneBatchPartErrorAndOneSuccess() throws org.apache.olingo.odata2.api.exception.ODataException- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-
testSingleBatchTwoChangesets
public void testSingleBatchTwoChangesets() throws org.apache.olingo.odata2.api.exception.ODataException- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-
-