src/Concerns/MakesAssertions.php
public function assertVueContains($key, $value, $componentSelector = null)
    {
        $attribute = $this->vueAttribute($componentSelector, $key);

        PHPUnit::assertIsArray($attribute, "The attribute for key [$key] is not an array.");
        PHPUnit::assertContains($value, $attribute);

        return $this;
    }
public function assertVueContains($key, $value, $componentSelector = null)
    {
        $attribute = $this->vueAttribute($componentSelector, $key);

        PHPUnit::assertIsArray($attribute, "The attribute for key [$key] is not an array.");
        PHPUnit::assertContains($value, $attribute);

        return $this;
    }
public function assertVueContains ( $ key , $ value , $ componentSelector = null ) { $ attribute = $ this -> vueAttribute ( $ componentSelector , $ key ) ; PHPUnit :: assertIsArray ( $ attribute , "The attribute for key [$key] is not an array." ) ; PHPUnit :: assertContains ( $ value , $ attribute ) ; return $ this ; }
Assert that the Vue component's attribute at the given key
is an array that contains the given value.

@param  string  $key
@param  string  $value
@param  string|null  $componentSelector
@return $this
Assert that the Vue component s attribute at the given key is an array that contains the given value .