public function testGetSetWeight() { $expected = PHP_INT_MAX; $this->assertEquals((int) Feeling::MAX_SCALE / 2, $this->instance->getWeight()); $this->assertTrue($this->instance->setWeight($expected) instanceof Feeling); $this->assertEquals($expected, $this->instance->getWeight()); }