/**
* @test
*/
function it_store_extra_field_as_json()
{
$this->createCategory(['name' => 'custom']);
$extra = ['extra.name' => 'amazing'];
$notifications = $this->notifynder->category('custom')->extra($extra)->url('w')->from(1)->to(1);
$notifications = $this->notifynder->send($notifications);
$this->assertEquals($notifications->extra->toArray(), $extra);
}