public function testSerializationDeserialization()
{
$obj = new PayoutSenderBatchHeader(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getSenderBatchId());
$this->assertNotNull($obj->getEmailSubject());
$this->assertNotNull($obj->getRecipientType());
$this->assertNotNull($obj->getBatchStatus());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}