9 namespace Fossology\Lib\Data;
20 protected function setUp() :
void
22 $this->text =
"The License text";
23 $this->url =
"http://www.fossology.org";
25 $this->
license =
new License(8,
"testSN",
"testFN", 4, $this->text, $this->url, 1);
28 public function testText()
30 assertThat($this->
license->getText(), is($this->text));
33 public function testUrl()
35 assertThat($this->
license->getUrl(), is($this->url));