public function test_percent_to_value_over_hundred() { $this->resetAfterTest(true); // fixture setup $total = 185; $percent = 121.08; // set expectation $this->setExpectedException('coding_exception'); // exercise SUT $part = teamwork::percent_to_value($percent, $total); }