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.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValueTest.java
test_class.identifier: MySQLInt8BinaryProtocolValueTest
test_case.body: @Test
      public void assertWriteWithBigDecimal() {
          new MySQLInt8BinaryProtocolValue().write(payload, new BigDecimal(1L));
          verify(payload).writeInt8(1L);
      }
test_case.class_method_signature: MySQLInt8BinaryProtocolValueTest.assertWriteWithBigDecimal()
test_case.full_signature: @Test public void assertWriteWithBigDecimal()
test_case.identifier: assertWriteWithBigDecimal
test_case.invocations: write writeInt8 verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertWriteWithBigDecimal()
focal_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/binary/execute/protocol/MySQLInt8BinaryProtocolValue.java
focal_class.identifier: MySQLInt8BinaryProtocolValue
focal_class.interfaces: implements MySQLBinaryProtocolValue
focal_class.class_method_signature: MySQLInt8BinaryProtocolValue.read(final MySQLPacketPayload payload)
focal_class.full_signature: @Override public Object read(final MySQLPacketPayload payload)
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: (final MySQLPacketPayload payload)
focal_class.return: Object
focal_class.signature: Object read(final MySQLPacketPayload payload)
focal_class.class_method_signature: MySQLInt8BinaryProtocolValue.write(final MySQLPacketPayload payload, final Object value)
focal_class.full_signature: @Override public void write(final MySQLPacketPayload payload, final Object value)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (final MySQLPacketPayload payload, final Object value)
focal_class.return: void
focal_class.signature: void write(final MySQLPacketPayload payload, final Object value)
focal_method.body: @Override
      public void write(final MySQLPacketPayload payload, final Object value) {
          payload.writeInt8(value instanceof BigDecimal ? ((BigDecimal) value).longValue() : (Long) value);
      }
focal_method.class_method_signature: MySQLInt8BinaryProtocolValue.write(final MySQLPacketPayload payload, final Object value)
focal_method.full_signature: @Override public void write(final MySQLPacketPayload payload, final Object value)
focal_method.identifier: write
focal_method.invocations: writeInt8 longValue
focal_method.modifiers: @Override public
focal_method.parameters: (final MySQLPacketPayload payload, final Object value)
focal_method.return: void
focal_method.signature: void write(final MySQLPacketPayload payload, final Object value)