public function testRepository()
{
$subdivisionRepository = $this->getMockBuilder('CommerceGuys\\Addressing\\Subdivision\\SubdivisionRepository')->disableOriginalConstructor()->getMock();
$this->collection->setRepository($subdivisionRepository);
$this->assertSame($subdivisionRepository, $this->collection->getRepository());
}