Kraken\_Unit\Util\Support\StringSupportTest::testApiFind_FiltersAndReturnsMatchedEntries_ForSinglePattern PHP Method

testApiFind_FiltersAndReturnsMatchedEntries_ForSinglePattern() public method

    public function testApiFind_FiltersAndReturnsMatchedEntries_ForSinglePattern()
    {
        $str = $this->createStringSupportMock();
        $entries = $this->getColorEntries();
        $expected = $this->getExpectedColors();
        $this->assertSame($expected, $str::findOne($this->getGrayPattern(), $entries));
    }