setBackgroundColor() публичный Метод

public setBackgroundColor ( $color )
Пример #1
0
 public function testSet()
 {
     $message = new Message(false, 'random');
     $this->assertEquals($message->getBackgroundColor(), 'random');
     $message = new Message(false, 'red');
     $message->setBackgroundColor('random');
     $this->assertEquals($message->getBackgroundColor(), 'random');
 }