Ejemplo n.º 1
0
 public function testProcessorIsGuessedButCouldBeOverwritten()
 {
     $config = new Configuration();
     $this->assertEquals(Configuration::PROCESSOR_DYNAMIC, $config->getProcessor());
     $config->setWidth(16);
     $this->assertEquals(Configuration::PROCESSOR_FIXED, $config->getProcessor());
     $config->setProcessor('test');
     $this->assertEquals('test', $config->getProcessor());
 }