Package com.guinetik.rr.util
Class ResponseLoggerTest
- java.lang.Object
-
- com.guinetik.rr.util.ResponseLoggerTest
-
public class ResponseLoggerTest extends Object
Unit tests forResponseLogger.
-
-
Constructor Summary
Constructors Constructor Description ResponseLoggerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestLogRawResponseWithDifferentStatusCodes()voidtestLogRawResponseWithEmptyHeaders()voidtestLogRawResponseWithLoggingDisabled()voidtestLogRawResponseWithLoggingEnabled()voidtestLogResponseBodyTruncation()voidtestLogResponseBodyWithCustomMaxLength()voidtestLogResponseBodyWithEmptyBody()voidtestLogResponseBodyWithLoggingDisabled()voidtestLogResponseBodyWithLoggingEnabled()voidtestLogResponseBodyWithNullBody()voidtestLogWithDefaultOptions()voidtestLogWithOnlyLoggingEnabledFalse()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testLogRawResponseWithLoggingEnabled
public void testLogRawResponseWithLoggingEnabled()
-
testLogRawResponseWithLoggingDisabled
public void testLogRawResponseWithLoggingDisabled()
-
testLogRawResponseWithEmptyHeaders
public void testLogRawResponseWithEmptyHeaders()
-
testLogResponseBodyWithLoggingEnabled
public void testLogResponseBodyWithLoggingEnabled()
-
testLogResponseBodyWithLoggingDisabled
public void testLogResponseBodyWithLoggingDisabled()
-
testLogResponseBodyWithNullBody
public void testLogResponseBodyWithNullBody()
-
testLogResponseBodyWithEmptyBody
public void testLogResponseBodyWithEmptyBody()
-
testLogResponseBodyTruncation
public void testLogResponseBodyTruncation()
-
testLogResponseBodyWithCustomMaxLength
public void testLogResponseBodyWithCustomMaxLength()
-
testLogRawResponseWithDifferentStatusCodes
public void testLogRawResponseWithDifferentStatusCodes()
-
testLogWithOnlyLoggingEnabledFalse
public void testLogWithOnlyLoggingEnabledFalse()
-
testLogWithDefaultOptions
public void testLogWithDefaultOptions()
-
-