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 assertNew() {
          when(payload.readInt4()).thenReturn(1234567890, 123456, 19, 4);
          when(payload.readInt1()).thenReturn(MySQLBinlogEventType.UNKNOWN_EVENT.getValue());
          when(payload.readInt2()).thenReturn(MySQLBinlogEventFlag.LOG_EVENT_BINLOG_IN_USE_F.getValue());
          MySQLBinlogEventHeader actual = new MySQLBinlogEventHeader(payload);
          assertThat(actual.getSequenceId(), is(0));
          assertThat(actual.getTimestamp(), is(1234567890));
          assertThat(actual.getEventType(), is(MySQLBinlogEventType.UNKNOWN_EVENT.getValue()));
          assertThat(actual.getServerId(), is(123456));
          assertThat(actual.getEventSize(), is(19));
          assertThat(actual.getLogPos(), is(4));
          assertThat(actual.getFlags(), is(MySQLBinlogEventFlag.LOG_EVENT_BINLOG_IN_USE_F.getValue()));
      }
test_case.class_method_signature: MySQLBinlogEventHeaderTest.assertNew()
test_case.full_signature: @Test public void assertNew()
test_case.identifier: assertNew
test_case.invocations: thenReturn when readInt4 thenReturn when readInt1 getValue thenReturn when readInt2 getValue assertThat getSequenceId is assertThat getTimestamp is assertThat getEventType is getValue assertThat getServerId is assertThat getEventSize is assertThat getLogPos is assertThat getFlags is getValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertNew()
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 int getSequenceId() {
          return 0;
      }
focal_method.class_method_signature: MySQLBinlogEventHeader.getSequenceId()
focal_method.full_signature: @Override public int getSequenceId()
focal_method.identifier: getSequenceId
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int getSequenceId()