test_class.declarator: payload
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private MySQLPacketPayload payload;
test_class.type: MySQLPacketPayload
test_class.var_name: payload
test_class.declarator: byteBuf
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ByteBuf byteBuf;
test_class.type: ByteBuf
test_class.var_name: byteBuf
test_class.declarator: columnDef
test_class.modifier: private
test_class.original_string: private MySQLBinlogColumnDef columnDef;
test_class.type: MySQLBinlogColumnDef
test_class.var_name: columnDef
test_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValueTest.java
test_class.identifier: MySQLBlobBinlogProtocolValueTest
test_case.body: @Test
      public void assertReadWithMeta4() {
          columnDef.setColumnMeta(4);
          when(payload.readInt4()).thenReturn(Integer.MAX_VALUE);
          when(payload.readStringFixByBytes(Integer.MAX_VALUE)).thenReturn(new byte[255]);
          assertThat(new MySQLBlobBinlogProtocolValue().read(columnDef, payload), is(new byte[255]));
      }
test_case.class_method_signature: MySQLBlobBinlogProtocolValueTest.assertReadWithMeta4()
test_case.full_signature: @Test public void assertReadWithMeta4()
test_case.identifier: assertReadWithMeta4
test_case.invocations: setColumnMeta thenReturn when readInt4 thenReturn when readStringFixByBytes assertThat read is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertReadWithMeta4()
focal_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/blob/MySQLBlobBinlogProtocolValue.java
focal_class.identifier: MySQLBlobBinlogProtocolValue
focal_class.interfaces: implements MySQLBinlogProtocolValue
focal_class.class_method_signature: MySQLBlobBinlogProtocolValue.read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload)
focal_class.full_signature: @Override public Serializable read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload)
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: (final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload)
focal_class.return: Serializable
focal_class.signature: Serializable read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload)
focal_class.class_method_signature: MySQLBlobBinlogProtocolValue.readLengthFromMeta(final int columnMeta, final MySQLPacketPayload payload)
focal_class.full_signature: private int readLengthFromMeta(final int columnMeta, final MySQLPacketPayload payload)
focal_class.identifier: readLengthFromMeta
focal_class.modifiers: private
focal_class.parameters: (final int columnMeta, final MySQLPacketPayload payload)
focal_class.return: int
focal_class.signature: int readLengthFromMeta(final int columnMeta, final MySQLPacketPayload payload)
focal_method.body: @Override
      public Serializable read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload) {
          return payload.readStringFixByBytes(readLengthFromMeta(columnDef.getColumnMeta(), payload));
      }
focal_method.class_method_signature: MySQLBlobBinlogProtocolValue.read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload)
focal_method.full_signature: @Override public Serializable read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload)
focal_method.identifier: read
focal_method.invocations: readStringFixByBytes readLengthFromMeta getColumnMeta
focal_method.modifiers: @Override public
focal_method.parameters: (final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload)
focal_method.return: Serializable
focal_method.signature: Serializable read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload)