### Question:
PacketLengthUtil { public static ErrorResponse buildPGPktTooLargeErr(String file, String routine) { return ErrorResponse .buildErrorResponse(Severity.FATAL, ErrorCode.DAL_PACKET_TOO_LARGE.getSqlState(), PKT_TOO_LARGE_ERR, file, "1", routine); }  static void checkValidLength(int length); static boolean isValidPayload(byte[] payload); static void trySendErr2Client(SqlSessionContext sqlCtx, Throwable cause,
        Supplier<byte[]> errMsg); static boolean isPacketTooLargeException(Throwable cause); static ErrorResponse buildPGPktTooLargeErr(String file, String routine); static final String PKT_TOO_LARGE_ERR; }### Answer:
@Test public void testBuildPGPktTooLargeErr() { String expectedFile = "file"; String expectedRoutine = "routine"; ErrorResponse expectedResponse = new ErrorResponse(Severity.FATAL, ErrorCode.DAL_PACKET_TOO_LARGE.getSqlState(), Constants.DAL + PacketLengthUtil.PKT_TOO_LARGE_ERR, expectedFile, "1", expectedRoutine); ErrorResponse actualResponse = PacketLengthUtil.buildPGPktTooLargeErr(expectedFile, expectedRoutine); Assert.assertEquals(actualResponse, expectedResponse); }