public function testReadingTransactionsForAnAccountWillReturnAnArrayOfTransactions() { $ret = array($this->transaction, $this->transaction, $this->transaction); $this->journalist->expects($this->once())->method('readTransactions')->will($this->returnValue($ret)); $this->assertInternalType('array', $this->sut->readTransactions(new Nominal('0000'))); }