public function testFeeBilled() { $feeManager = new FeeManager($this->getMockEntityManager(), $this->getUserManagerMock(), $this->getMockCashCalculationManager(), $this->getMockPeriodManager(), $this->getMockBillingSpecManager()); $fees = $this->returnFees(); $fee = $feeManager->calculateFee(600000, $fees); $c = $feeManager->calculateFeeBilled($fee, 30, 45); $this->assertEquals(11000.0, $c, "Invalid calculated fee billed (FeeManager::calculateFeeBilled): {$c}"); }