public function testConstructor()
 {
     $transaction = new FinancialTransaction();
     $this->assertEquals(FinancialTransaction::STATE_NEW, $transaction->getState());
     $this->assertTrue(time() - $transaction->getCreatedAt()->getTimestamp() < 5);
     $this->assertNull($transaction->getId());
     $this->assertEquals(0.0, $transaction->getProcessedAmount());
     $this->assertEquals(0.0, $transaction->getRequestedAmount());
 }