Extract Method	package writeBlock(block ExtendedBlock, stage BlockConstructionStage, newGS long, checksum DataChecksum) : void extracted from private testWrite(block ExtendedBlock, stage BlockConstructionStage, newGS long, description String, eofExcepted Boolean) : void in class org.apache.hadoop.hdfs.TestDataTransferProtocol