Beispiel #1
0
 /**
  * Tests setting and getting of backgrounds.
  * 
  * @param int    $backgorund
  * @param string $sequence
  * 
  * @return void
  * @dataProvider setGetBackgroundDataProvider
  */
 public function testSetGetBackground($backgorund, $sequence)
 {
     $this->object->setBackground($backgorund);
     $this->assertSame($backgorund, $this->object->getBackground());
     $this->assertSame($sequence, (string) $this->object);
 }