FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ClearingEventTypesTest.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\Clearing;
9 
10 
12 
14 {
15 
16  protected function setUp() : void
17  {
18  $this->setTypes(new ClearingEventTypes());
19  }
20 
21  public function testTypeUser()
22  {
23  $this->checkMapping(ClearingEventTypes::USER, "User decision");
24  }
25 
26  public function testTypeBulk()
27  {
28  $this->checkMapping(ClearingEventTypes::BULK, "Bulk");
29  }
30 }
checkMapping($type, $expectedTypeName)