MongolidLaravel\MongolidUserProviderTest::testShouldRetrieveById PHP Method

testShouldRetrieveById() public method

    public function testShouldRetrieveById()
    {
        // Set
        $provider = $this->getProvider();
        $params = ['_id' => new ObjectID()];
        // Actions
        $result = $provider->retrieveByID($params);
        // Assertions
        $this->assertInstanceOf(MongolidModel::class, $result);
    }