/**
  * @return void
  */
 public function testAddDocument()
 {
     $document = $this->getMock('\\Migration\\ResourceModel\\Document', [], [], '', false);
     $document->expects($this->any())->method('getName')->will($this->returnValue('Doc4'));
     $this->documentCollection->addDocument($document);
     $this->assertSame($document, $this->documentCollection->getDocument('Doc4'));
 }
 /**
  * @return void
  */
 public function testCount()
 {
     $this->assertEquals(3, $this->documentCollection->count());
 }