    @Test
    public void getResourceNameWithLeadingSlash()
        throws MalformedURLException
    {

        assertEquals( "Resource name", "resource", new Parser( "/resource" ).getResourceName() );
    }