public function testConstructorMethod() { $rational = Rational::make($this->makeInteger(-15), $this->makeInteger(16)); $this->assertEquals($rational->getNumerator()->getValue(), -15); $this->assertEquals($rational->getDenominator()->getValue(), 16); }