ArrayAssertTest::isNotEmptyShouldAssertThatArrayHasElements PHP Method

isNotEmptyShouldAssertThatArrayHasElements() public method

    public function isNotEmptyShouldAssertThatArrayHasElements()
    {
        Assert::thatArray(array('1'))->isNotEmpty();
        Assert::thatArray(array('1', '2'))->isNotEmpty();
    }
ArrayAssertTest