src/Concerns/MakesAssertions.php
public function assertRadioSelected($field, $value)
    {
        $element = $this->resolver->resolveForRadioSelection($field, $value);

        PHPUnit::assertTrue(
            $element->isSelected(),
            "Expected radio [{$field}] to be selected, but it wasn't."
        );

        return $this;
    }
public function assertRadioSelected($field, $value)
    {
        $element = $this->resolver->resolveForRadioSelection($field, $value);

        PHPUnit::assertTrue(
            $element->isSelected(),
            "Expected radio [{$field}] to be selected, but it wasn't."
        );

        return $this;
    }
public function assertRadioSelected ( $ field , $ value ) { $ element = $ this -> resolver -> resolveForRadioSelection ( $ field , $ value ) ; PHPUnit :: assertTrue ( $ element -> isSelected ( ) , "Expected radio [{$field}] to be selected, but it wasn't." ) ; return $ this ; }
Assert that the given radio field is selected.

@param  string  $field
@param  string  $value
@return $this
Assert that the given radio field is selected .