/** * @covers operate */ public function testOperate() { $env = new ILess_Environment(); $color = new ILess_Node_Color('#ffffff'); $other = new ILess_Node_Color('#ff0000'); $result = $color->operate($env, '+', $other); // new color is returned $this->assertInstanceOf('ILess_Node_Color', $result); $this->assertEquals($result->getRGB(), array(255, 255, 255)); }