FOSSology  4.4.0
Open Source License Compliance by Open Source Software
DecisionTypesTest.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2014 Siemens AG
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
8 namespace Fossology\Lib\Data;
9 
11 
13 {
14 
15  protected function setUp() : void
16  {
17  $this->setTypes(new DecisionTypes());
18  }
19 
20  public function testTypeToBeDiscussed()
21  {
22  $this->checkMapping(DecisionTypes::TO_BE_DISCUSSED, "To be discussed");
23  }
24 
25  public function testTypeIrrelevant()
26  {
27  $this->checkMapping(DecisionTypes::IRRELEVANT, "Irrelevant");
28  }
29 
30  public function testTypeIdentified()
31  {
32  $this->checkMapping(DecisionTypes::IDENTIFIED, "Identified");
33  }
34 }
checkMapping($type, $expectedTypeName)