public function testShouldMockFirst()
{
// Set
$model = new class extends MongolidModel
{
protected $collection = 'collection_name';
};
// Expectations
$model::shouldReceive('first')->once()->withAnyArgs()->andReturn($model);
// Actions
$result = $model->first('123');
// Assertions
$this->assertEquals($model, $result);
}