public function testFindMethodFindsEntityById()
 {
     $entity3 = new Entity();
     $entity3->id = 3;
     $c = new Collection([$entity3]);
     $this->assertSame($entity3, $c->find(3));
     $this->assertSame('analogue', $c->find(2, 'analogue'));
 }