Test<\/s>", "text_footer": "Test" } JSON; $model = UnsubscribeTracking::create(json_decode($json, true)); $this->assertTrue($model->isActive()); $this->assertEquals('Test', $model->getHtmlFooter()); $this->assertEquals('Test', $model->getTextFooter()); } }