MongolidLaravel\MongolidUserProviderTest::testShouldRetrieveByCredentials PHP Method

testShouldRetrieveByCredentials() public method

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