public function testShouldGetAll()
{
// Arrange
$connPool = m::mock(Pool::class);
$mapper = m::mock(DataMapper::class . '[where]', [$connPool]);
$mongolidCursor = m::mock(Cursor::class);
// Expect
$mapper->shouldReceive('where')->once()->with([])->andReturn($mongolidCursor);
// Act
$result = $mapper->all();
// Assert
$this->assertEquals($mongolidCursor, $result);
}