test_class.declarator: columnDef
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private MySQLBinlogColumnDef columnDef;
test_class.type: MySQLBinlogColumnDef
test_class.var_name: columnDef
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: actual
test_class.modifier: private
test_class.original_string: private MySQLBitBinlogProtocolValue actual;
test_class.type: MySQLBitBinlogProtocolValue
test_class.var_name: actual
test_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValueTest.java
test_class.identifier: MySQLBitBinlogProtocolValueTest
test_case.body: @Test
      public void assertReadWithLength1() {
          when(columnDef.getColumnMeta()).thenReturn(1);
          when(payload.readLong(1)).thenReturn(1L);
          assertThat(actual.read(columnDef, payload), is(1L));
      }
test_case.class_method_signature: MySQLBitBinlogProtocolValueTest.assertReadWithLength1()
test_case.full_signature: @Test public void assertReadWithLength1()
test_case.identifier: assertReadWithLength1
test_case.invocations: thenReturn when getColumnMeta thenReturn when readLong assertThat read is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertReadWithLength1()
focal_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/row/column/value/integer/MySQLBitBinlogProtocolValue.java
focal_class.identifier: MySQLBitBinlogProtocolValue
focal_class.interfaces: implements MySQLBinlogProtocolValue
focal_class.class_method_signature: MySQLBitBinlogProtocolValue.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: MySQLBitBinlogProtocolValue.getLength(final int meta)
focal_class.full_signature: private int getLength(final int meta)
focal_class.identifier: getLength
focal_class.modifiers: private
focal_class.parameters: (final int meta)
focal_class.return: int
focal_class.signature: int getLength(final int meta)
focal_method.body: @Override
      public Serializable read(final MySQLBinlogColumnDef columnDef, final MySQLPacketPayload payload) {
          return payload.readLong(getLength(columnDef.getColumnMeta()));
      }
focal_method.class_method_signature: MySQLBitBinlogProtocolValue.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: readLong getLength 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)