コード例 #1
0
 /**
  * @param int $type
  * @param string $expectedTypeName
  * @throws \Exception
  */
 protected function checkMapping($type, $expectedTypeName)
 {
     $typeName = $this->types->getTypeName($type);
     assertThat($typeName, is($expectedTypeName));
     assertThat($this->types->getTypeByName($typeName), is($type));
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct("license decision type");
     $this->map = array(self::USER => "User decision", self::BULK => "Bulk", self::AGENT => "User confirmed agent finding");
 }