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/binlog/MySQLBinlogEventHeaderTest.java
test_class.identifier: MySQLBinlogEventHeaderTest
test_case.body: @Test
      public void assertWrite() {
          new MySQLBinlogEventHeader(1234567890, MySQLBinlogEventType.UNKNOWN_EVENT.getValue(), 123456, 19, 4, MySQLBinlogEventFlag.LOG_EVENT_BINLOG_IN_USE_F.getValue()).write(payload);
          verify(payload).writeInt4(1234567890);
          verify(payload).writeInt1(MySQLBinlogEventType.UNKNOWN_EVENT.getValue());
          verify(payload).writeInt4(123456);
          verify(payload).writeInt4(19);
          verify(payload).writeInt4(4);
          verify(payload).writeInt2(MySQLBinlogEventFlag.LOG_EVENT_BINLOG_IN_USE_F.getValue());
      }
test_case.class_method_signature: MySQLBinlogEventHeaderTest.assertWrite()
test_case.full_signature: @Test public void assertWrite()
test_case.identifier: assertWrite
test_case.invocations: write getValue getValue writeInt4 verify writeInt1 verify getValue writeInt4 verify writeInt4 verify writeInt4 verify writeInt2 verify getValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertWrite()
focal_class.declarator: MYSQL_BINLOG_EVENT_HEADER_LENGTH = 19
focal_class.modifier: public static final
focal_class.original_string: public static final int MYSQL_BINLOG_EVENT_HEADER_LENGTH = 19;
focal_class.type: int
focal_class.var_name: MYSQL_BINLOG_EVENT_HEADER_LENGTH
focal_class.declarator: timestamp
focal_class.modifier: private final
focal_class.original_string: private final int timestamp;
focal_class.type: int
focal_class.var_name: timestamp
focal_class.declarator: eventType
focal_class.modifier: private final
focal_class.original_string: private final int eventType;
focal_class.type: int
focal_class.var_name: eventType
focal_class.declarator: serverId
focal_class.modifier: private final
focal_class.original_string: private final int serverId;
focal_class.type: int
focal_class.var_name: serverId
focal_class.declarator: eventSize
focal_class.modifier: private final
focal_class.original_string: private final int eventSize;
focal_class.type: int
focal_class.var_name: eventSize
focal_class.declarator: logPos
focal_class.modifier: private final
focal_class.original_string: private final int logPos;
focal_class.type: int
focal_class.var_name: logPos
focal_class.declarator: flags
focal_class.modifier: private final
focal_class.original_string: private final int flags;
focal_class.type: int
focal_class.var_name: flags
focal_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/binlog/MySQLBinlogEventHeader.java
focal_class.identifier: MySQLBinlogEventHeader
focal_class.interfaces: implements MySQLPacket
focal_class.class_method_signature: MySQLBinlogEventHeader.MySQLBinlogEventHeader(final MySQLPacketPayload payload)
focal_class.full_signature: public  MySQLBinlogEventHeader(final MySQLPacketPayload payload)
focal_class.identifier: MySQLBinlogEventHeader
focal_class.modifiers: public
focal_class.parameters: (final MySQLPacketPayload payload)
focal_class.signature:  MySQLBinlogEventHeader(final MySQLPacketPayload payload)
focal_class.class_method_signature: MySQLBinlogEventHeader.write(final MySQLPacketPayload payload)
focal_class.full_signature: @Override public void write(final MySQLPacketPayload payload)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (final MySQLPacketPayload payload)
focal_class.return: void
focal_class.signature: void write(final MySQLPacketPayload payload)
focal_class.class_method_signature: MySQLBinlogEventHeader.getSequenceId()
focal_class.full_signature: @Override public int getSequenceId()
focal_class.identifier: getSequenceId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSequenceId()
focal_method.body: @Override
      public void write(final MySQLPacketPayload payload) {
          payload.writeInt4(timestamp);
          payload.writeInt1(eventType);
          payload.writeInt4(serverId);
          payload.writeInt4(eventSize);
          payload.writeInt4(logPos);
          payload.writeInt2(flags);
      }
focal_method.class_method_signature: MySQLBinlogEventHeader.write(final MySQLPacketPayload payload)
focal_method.full_signature: @Override public void write(final MySQLPacketPayload payload)
focal_method.identifier: write
focal_method.invocations: writeInt4 writeInt1 writeInt4 writeInt4 writeInt4 writeInt2
focal_method.modifiers: @Override public
focal_method.parameters: (final MySQLPacketPayload payload)
focal_method.return: void
focal_method.signature: void write(final MySQLPacketPayload payload)