    @Test( expected = IllegalArgumentException.class )
    public void registerWithEmptyProtocol()
    {

        new URLStreamHandlerExtender().register( new String[]{ " " }, createMock( URLStreamHandlerService.class ) );
    }