public function testOne()
 {
     $context = Context::builder()->place('DE')->priority(Priority::REALTIME())->build();
     $this->assertEquals('DE', $context->getPlace());
     $this->assertEquals(Priority::REALTIME(), $context->getPriority());
     $this->assertEquals(array(), $context->getProperties());
 }
 public function testOne()
 {
     $context = Context::builder()->apiKey('my-api-key')->geo('DE')->priority(Priority::REALTIME())->build();
     $this->assertEquals('my-api-key', $context->getApiKey());
     $this->assertEquals('DE', $context->getGeo());
     $this->assertEquals(Priority::REALTIME(), $context->getPriority());
     $this->assertEquals(array(), $context->getProperties());
 }
 public function testEquality()
 {
     $this->assertEquals(Priority::REALTIME(), Priority::REALTIME());
     $this->assertTrue(Priority::REALTIME() === Priority::REALTIME());
     $this->assertEquals('REALTIME', (string) Priority::REALTIME());
 }