tests/Assertions/AssertEmptyTest.php
/**
     * Data provider for assertion test.
     *
     * @return array The data.
     */
Data provider for assertion test.
@return array The data.
Data provider for assertion test . @return array The data .
public function assertionDataProvider(): array
    {
        return [
            [ModifiersInterface::NONE, '', true, ''],
            [ModifiersInterface::NONE, 'Foo', false, 'Content "Foo" is not empty'],
            [ModifiersInterface::NONE, 'foo', false, 'Content "foo" is not empty'],
            [ModifiersInterface::NONE, 'FooBar', false, 'Content "FooBar" is not empty'],
            [ModifiersInterface::NONE, 'fooBar', false, 'Content "fooBar" is not empty'],
            [ModifiersInterface::NONE, 'Bar', false, 'Content "Bar" is not empty'],
            [ModifiersInterface::NOT, '', false, 'Content "" is empty'],
            [ModifiersInterface::NOT, 'Foo', true, ''],
            [ModifiersInterface::NOT, 'foo', true, ''],
            [ModifiersInterface::NOT, 'FooBar', true, ''],
            [ModifiersInterface::NOT, 'fooBar', true, ''],
            [ModifiersInterface::NOT, 'Bar', true, ''],
        ];
    }
public function assertionDataProvider ( ) : array { return [ [ ModifiersInterface :: NONE , '' , true , '' ] , [ ModifiersInterface :: NONE , 'Foo' , false , 'Content "Foo" is not empty' ] , [ ModifiersInterface :: NONE , 'foo' , false , 'Content "foo" is not empty' ] , [ ModifiersInterface :: NONE , 'FooBar' , false , 'Content "FooBar" is not empty' ] , [ ModifiersInterface :: NONE , 'fooBar' , false , 'Content "fooBar" is not empty' ] , [ ModifiersInterface :: NONE , 'Bar' , false , 'Content "Bar" is not empty' ] , [ ModifiersInterface :: NOT , '' , false , 'Content "" is empty' ] , [ ModifiersInterface :: NOT , 'Foo' , true , '' ] , [ ModifiersInterface :: NOT , 'foo' , true , '' ] , [ ModifiersInterface :: NOT , 'FooBar' , true , '' ] , [ ModifiersInterface :: NOT , 'fooBar' , true , '' ] , [ ModifiersInterface :: NOT , 'Bar' , true , '' ] , ] ; }
Data provider for assertion test.
Data provider for assertion test .
// ModifiersInterface::NONE // ModifiersInterface::NOT