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/generic/MySQLEofPacketTest.java
test_class.identifier: MySQLEofPacketTest
test_case.body: @Test
      public void assertWrite() {
          new MySQLEofPacket(1).write(payload);
          verify(payload).writeInt1(MySQLEofPacket.HEADER);
          verify(payload).writeInt2(0);
          verify(payload).writeInt2(MySQLStatusFlag.SERVER_STATUS_AUTOCOMMIT.getValue());
      }
test_case.class_method_signature: MySQLEofPacketTest.assertWrite()
test_case.full_signature: @Test public void assertWrite()
test_case.identifier: assertWrite
test_case.invocations: write writeInt1 verify writeInt2 verify writeInt2 verify getValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertWrite()
focal_class.declarator: HEADER = 0xfe
focal_class.modifier: public static final
focal_class.original_string: public static final int HEADER = 0xfe;
focal_class.type: int
focal_class.var_name: HEADER
focal_class.declarator: sequenceId
focal_class.modifier: private final
focal_class.original_string: private final int sequenceId;
focal_class.type: int
focal_class.var_name: sequenceId
focal_class.declarator: warnings
focal_class.modifier: private final
focal_class.original_string: private final int warnings;
focal_class.type: int
focal_class.var_name: warnings
focal_class.declarator: statusFlags
focal_class.modifier: private final
focal_class.original_string: private final int statusFlags;
focal_class.type: int
focal_class.var_name: statusFlags
focal_class.file: shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/generic/MySQLEofPacket.java
focal_class.identifier: MySQLEofPacket
focal_class.interfaces: implements MySQLPacket
focal_class.class_method_signature: MySQLEofPacket.MySQLEofPacket(final int sequenceId)
focal_class.full_signature: public  MySQLEofPacket(final int sequenceId)
focal_class.identifier: MySQLEofPacket
focal_class.modifiers: public
focal_class.parameters: (final int sequenceId)
focal_class.signature:  MySQLEofPacket(final int sequenceId)
focal_class.class_method_signature: MySQLEofPacket.MySQLEofPacket(final MySQLPacketPayload payload)
focal_class.full_signature: public  MySQLEofPacket(final MySQLPacketPayload payload)
focal_class.identifier: MySQLEofPacket
focal_class.modifiers: public
focal_class.parameters: (final MySQLPacketPayload payload)
focal_class.signature:  MySQLEofPacket(final MySQLPacketPayload payload)
focal_class.class_method_signature: MySQLEofPacket.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_method.body: @Override
      public void write(final MySQLPacketPayload payload) {
          payload.writeInt1(HEADER);
          payload.writeInt2(warnings);
          payload.writeInt2(statusFlags);
      }
focal_method.class_method_signature: MySQLEofPacket.write(final MySQLPacketPayload payload)
focal_method.full_signature: @Override public void write(final MySQLPacketPayload payload)
focal_method.identifier: write
focal_method.invocations: writeInt1 writeInt2 writeInt2
focal_method.modifiers: @Override public
focal_method.parameters: (final MySQLPacketPayload payload)
focal_method.return: void
focal_method.signature: void write(final MySQLPacketPayload payload)