public function testPendingStatus()
 {
     $factory = new NotificationProcessFactory();
     $process = $factory->build($this->getMock('\\Psr\\Log\\LoggerInterface'));
     $notification = $process->process(new TestCredentials(), $this->getRealNotification(OrderStatusInterface::PENDING));
     $this->assertTrue($notification->getOrder()->getStatus()->isPending());
     $this->assertFalse($notification->getOrder()->getStatus()->isCompleted());
     $this->assertFalse($notification->getOrder()->getStatus()->isCanceled());
     $this->assertEquals('31.12.2012 12:00:00', $notification->getOrder()->getCreatedAt()->format('d.m.Y H:i:s'));
 }
 public function testResult()
 {
     $factory = new NotificationProcessFactory();
     $this->assertInstanceOf('\\Team3\\PayU\\Communication\\Process\\NotificationProcess\\NotificationProcess', $factory->build($this->getLogger()));
 }