public function testRemoveDuplicateSlashes()
{
$uri = new Uri('http://example.org//foo///bar/bam.html');
$normalizedUri = UriNormalizer::normalize($uri, UriNormalizer::REMOVE_DUPLICATE_SLASHES);
$this->assertInstanceOf('Psr\\Http\\Message\\UriInterface', $normalizedUri);
$this->assertSame('http://example.org/foo/bar/bam.html', (string) $normalizedUri);
}