make(BasicRoot::class); expect($rules)->toMatchArray([ 'text' => ['required'], 'value' => ['required', 'numeric'], ]); }); });