/**
  * @test
  */
 public function getPriorityReturnsCorrectValue()
 {
     $this->assertSame(1, $this->subject->getPriority());
 }
 /**
  * @test
  */
 public function checkMetadata()
 {
     $this->assertEquals(array('integer', 'string', 'array'), $this->converter->getSupportedSourceTypes(), 'Source types do not match');
     $this->assertEquals('object', $this->converter->getSupportedTargetType(), 'Target type does not match');
     $this->assertEquals(1, $this->converter->getPriority(), 'Priority does not match');
 }
Ejemplo n.º 3
0
 public function testGetPriority()
 {
     $this->initJob();
     $this->assertEquals(Job::PRIORITY, $this->job->getPriority());
 }