JpnForPhp\Tests\Helper\HelperTest::testCountSubStringWhenOccurencesFound PHP Method

testCountSubStringWhenOccurencesFound() public method

    public function testCountSubStringWhenOccurencesFound()
    {
        $result = Helper::countSubString($this->mixCharacters, '学');
        $this->assertEquals(1, $result);
    }
HelperTest