PHPUnit_Framework_Assert::assertGreaterThanOrEqual PHP Method

assertGreaterThanOrEqual() public static method

Asserts that a value is greater than or equal to another value.
public static assertGreaterThanOrEqual ( mixed $expected, mixed $actual, string $message = '' )
$expected mixed
$actual mixed
$message string
    public static function assertGreaterThanOrEqual($expected, $actual, $message = '')
    {
        static::assertThat($actual, static::greaterThanOrEqual($expected), $message);
    }

Usage Example

 /** @test */
 public function it_can_be_added_to_faker_as_a_provider_and_used()
 {
     $faker = Factory::create();
     $faker->addProvider(new BuzzwordJobProvider($faker));
     $jobTitle = $faker->jobTitle();
     $jobTitleWords = explode(' ', $jobTitle);
     Assert::assertGreaterThanOrEqual(3, $jobTitleWords);
 }
All Usage Examples Of PHPUnit_Framework_Assert::assertGreaterThanOrEqual
PHPUnit_Framework_Assert