@@ -0,0 +1,980 @@
+package com.yahoo.vespa.http.server;%0A%0Aimport com.yahoo.document.DocumentTypeManager;%0Aimport com.yahoo.text.Utf8;%0Aimport com.yahoo.vespa.http.client.config.FeedParams;%0Aimport org.junit.Test;%0A%0Aimport java.io.ByteArrayInputStream;%0Aimport java.io.InputStream;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.fail;%0A%0Apublic class FeedReaderFactoryTestCase %7B%0A    FeedReaderFactory ffr = new FeedReaderFactory();%0A    DocumentTypeManager manager = new DocumentTypeManager();%0A%0A    private InputStream createStream(String s) %7B%0A        return new ByteArrayInputStream(Utf8.toBytes(s));%0A    %7D%0A%0A    @Test%0A    public void testXmlException() %7B%0A        try %7B%0A            ffr.createReader(createStream(%22Some malformed xml%22), manager, FeedParams.DataFormat.XML_UTF8);%0A            fail();%0A        %7D catch (RuntimeException e) %7B%0A            assertEquals(%22Could not create VespaXMLFeedReader. First characters are: 'Some malformed xml'%22, e.getMessage());%0A        %7D%0A    %7D%0A%7D%0A

Add missing file