public function test()
 {
     $notifFactory = new NotifFactory();
     $rawData = array('appid' => 111, 'snsid' => '675097095878591', 'feature' => 'feature111', 'template' => 'template111', 'trackRef' => 'ref111', 'fireTime' => time() + 100, 'fired' => false);
     $notif = $notifFactory->make($rawData);
     $fbNotifFactory = new FBNotifFactory();
     $fbNotif = $fbNotifFactory->make($notif);
     static::assertInstanceOf('FBGateway\\FBNotif', $fbNotif);
     $expectedArray = array();
     foreach ($fbNotif as $key => $value) {
         $expectedArray[$key] = $rawData[$key];
     }
     static::assertEquals($expectedArray, $fbNotifFactory->toArray($fbNotif));
 }