public function testToStringMagicMethodReturnsName() { $enum = EnumBasic::get(EnumBasic::ONE); $this->assertSame('ONE', $enum->__toString()); }