Nestable\Tests\Services\NestableServiceTest::testIsValidForMultiple PHP Метод

testIsValidForMultiple() публичный Метод

    public function testIsValidForMultiple()
    {
        $nestable = new \Nestable\Services\NestableService();
        $nested = $nestable->make($this->categories);
        $this->assertTrue($nested->isValidForMultiple());
        $this->assertRegExp('/' . $this->_get_pattern('multiple') . '/', $nested->isValidForMultiple(true));
    }