/** * Test that width() validates the width of an image is exact. */ public function testWidth() { $this->assertTrue(Validate::width($this->image, 200)); $this->assertFalse(Validate::width($this->image, 100)); }