Bolt\Tests\Menu\MenuBuilderTest::populateItemFromRecordProvider PHP Method

populateItemFromRecordProvider() public static method

public static populateItemFromRecordProvider ( ) : array
return array
    public static function populateItemFromRecordProvider()
    {
        $tests = [];
        $tests[] = [['title' => 'a', 'label' => 'b', 'link' => 'c'], false, ['title' => 'a', 'label' => 'b', 'link' => 'c'], 'f'];
        $tests[] = [['title' => 'a', 'label' => 'b', 'link' => 'f'], ['title' => 'd', 'subtitle' => 'e'], ['title' => 'a', 'label' => 'b', 'link' => 'c'], 'f'];
        $tests[] = [['title' => 'a', 'label' => '', 'link' => 'f'], ['title' => '', 'subtitle' => 'e'], ['title' => 'a', 'label' => '', 'link' => 'c'], 'f'];
        $tests[] = [['title' => '', 'label' => 'b', 'link' => 'f'], ['title' => 'd', 'subtitle' => ''], ['title' => '', 'label' => 'b', 'link' => 'c'], 'f'];
        $tests[] = [['title' => 'a', 'label' => 'd', 'link' => 'f'], ['title' => 'd', 'subtitle' => 'e'], ['title' => 'a', 'label' => '', 'link' => 'c'], 'f'];
        $tests[] = [['title' => 'e', 'label' => 'b', 'link' => 'f'], ['title' => 'd', 'subtitle' => 'e'], ['title' => '', 'label' => 'b', 'link' => 'c'], 'f'];
        $tests[] = [['title' => 'a', 'label' => '', 'link' => 'f'], ['title' => '', 'subtitle' => 'e'], ['title' => 'a', 'label' => '', 'link' => 'c'], 'f'];
        $tests[] = [['title' => 'a', 'label' => 'b', 'link' => 'f'], ['title' => '', 'subtitle' => ''], ['title' => 'a', 'label' => 'b', 'link' => 'c'], 'f'];
        $tests[] = [['title' => 'a', 'label' => 'b', 'link' => 'f'], ['title' => '', 'subtitle' => ''], ['title' => 'a', 'label' => 'b', 'link' => 'c'], 'f'];
        return $tests;
    }