public function testGetEndpoints()
{
$endpoints = [Endpoint::get('/all', 'all'), Endpoint::get('/find/:id', 'find')];
foreach ($endpoints as $endpoint) {
$this->collection->endpoint($endpoint);
}
$this->assertEquals($this->collection->getEndpoints(), $endpoints);
}