Documentation

OneExactlyOrNothingUnitTest extends TestCase
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

testOneExactlyOrNothingRule()  : void
Testing method validate for OneOrMoreCharFromSet rule
validateDataProvider()  : array<string|int, mixed>
Testing data provider

Methods

testOneExactlyOrNothingRule()

Testing method validate for OneOrMoreCharFromSet rule

public testOneExactlyOrNothingRule(string $stringToValidate, bool $expectedResult) : void
Parameters
$stringToValidate : string

string to validate

$expectedResult : bool

expected result of validation

Tags
dataProvider

validateDataProvider

Return values
void

validateDataProvider()

Testing data provider

public validateDataProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

testing data

Search results

    Яндекс.Метрика