public function testGetLicenseShortName() { $licenseShortname = "<licenseShortname>"; $this->clearingLicense->shouldReceive('getShortName')->once()->withNoArgs()->andReturn($licenseShortname); assertThat($this->licenseDecisionEvent->getLicenseShortName(), is($licenseShortname)); }