public function testFindByEntityCode()
 {
     $expected = new County('Code', 'Name');
     $expected->setDateCreated($this->expectedDate);
     $returnedCounty = $this->instance->findByEntityCode($expected);
     $this->assertEquals($expected, $returnedCounty);
 }