Added another failing test case for GH Issue $131

This commit is contained in:
Jessica Mauerhan
2016-09-30 16:00:46 -04:00
parent 58dd3dd249
commit 0a620d1966
+11
View File
@@ -24,4 +24,15 @@ class UuidFactoryTest extends TestCase
$this->assertEquals('ff6f8cb0-c57d-11e1-9b21-0800200c9a66', $uuid->toString());
}
public function testFromStringParsesUuidInLowercase()
{
$uuidString = 'ff6f8cb0-c57d-11e1-9b21-0800200c9a66';
$uuidUpper = strtoupper($uuidString);
$factory = new UuidFactory(new FeatureSet(true));
$uuid = $factory->fromString($uuidUpper);
$this->assertEquals($uuidString, $uuid->toString());
}
}