public function testAsGmpIntTypeReturnsGmpIntType() { $o = new GMPRationalType(new GMPIntType(2), new GMPIntType(1)); $this->assertInstanceOf('Chippyash\\Type\\Number\\GMPIntType', $o->asGMPIntType()); }