public function testDefaultIfNotFound() { $accountUser = new AccountUser(); $accountUser->setAccount($this->getAccount('account.level_1')); $this->websiteManager->expects($this->once())->method('getCurrentWebsite')->willReturn(null); $this->assertTrue($this->handler->getPriceList($accountUser)->isDefault()); }