test_class.declarator: payload
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private PostgreSQLPacketPayload payload;
test_class.type: PostgreSQLPacketPayload
test_class.var_name: payload
test_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/binary/bind/PostgreSQLBinaryResultSetRowPacketTest.java
test_class.identifier: PostgreSQLBinaryResultSetRowPacketTest
test_case.body: @Test
      public void assertWriteIntData() {
          PostgreSQLBinaryResultSetRowPacket rowPacket = new PostgreSQLBinaryResultSetRowPacket(Collections.singletonList(10), Collections.singletonList(PostgreSQLColumnType.POSTGRESQL_TYPE_INT4));
          assertThat(rowPacket.getData().size(), is(1));
          rowPacket.write(payload);
          verify(payload).writeInt2(1);
          verify(payload).writeInt4(4);
          verify(payload).writeInt4(10);
      }
test_case.class_method_signature: PostgreSQLBinaryResultSetRowPacketTest.assertWriteIntData()
test_case.full_signature: @Test public void assertWriteIntData()
test_case.identifier: assertWriteIntData
test_case.invocations: singletonList singletonList assertThat size getData is write writeInt2 verify writeInt4 verify writeInt4 verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertWriteIntData()
focal_class.declarator: messageType = PostgreSQLCommandPacketType.DATA_ROW.getValue()
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final char messageType = PostgreSQLCommandPacketType.DATA_ROW.getValue();
focal_class.type: char
focal_class.var_name: messageType
focal_class.declarator: data
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final List<Object> data;
focal_class.type: List<Object>
focal_class.var_name: data
focal_class.declarator: columnTypes
focal_class.modifier: private final
focal_class.original_string: private final List<PostgreSQLColumnType> columnTypes;
focal_class.type: List<PostgreSQLColumnType>
focal_class.var_name: columnTypes
focal_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/src/main/java/org/apache/shardingsphere/db/protocol/postgresql/packet/command/query/binary/bind/PostgreSQLBinaryResultSetRowPacket.java
focal_class.identifier: PostgreSQLBinaryResultSetRowPacket
focal_class.interfaces: implements PostgreSQLPacket
focal_class.class_method_signature: PostgreSQLBinaryResultSetRowPacket.write(final PostgreSQLPacketPayload payload)
focal_class.full_signature: @Override public void write(final PostgreSQLPacketPayload payload)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (final PostgreSQLPacketPayload payload)
focal_class.return: void
focal_class.signature: void write(final PostgreSQLPacketPayload payload)
focal_class.class_method_signature: PostgreSQLBinaryResultSetRowPacket.writeValues(final PostgreSQLPacketPayload payload)
focal_class.full_signature: private void writeValues(final PostgreSQLPacketPayload payload)
focal_class.identifier: writeValues
focal_class.modifiers: private
focal_class.parameters: (final PostgreSQLPacketPayload payload)
focal_class.return: void
focal_class.signature: void writeValues(final PostgreSQLPacketPayload payload)
focal_method.body: @Override
      public void write(final PostgreSQLPacketPayload payload) {
          payload.writeInt2(data.size());
          writeValues(payload);
      }
focal_method.class_method_signature: PostgreSQLBinaryResultSetRowPacket.write(final PostgreSQLPacketPayload payload)
focal_method.full_signature: @Override public void write(final PostgreSQLPacketPayload payload)
focal_method.identifier: write
focal_method.invocations: writeInt2 size writeValues
focal_method.modifiers: @Override public
focal_method.parameters: (final PostgreSQLPacketPayload payload)
focal_method.return: void
focal_method.signature: void write(final PostgreSQLPacketPayload payload)