@Test(expected = NullPointerException.class) public void testCharactersThrowsNullPointerException() throws Throwable { char[] buf = new char[1]; XMLTopicFactory xMLTopicFactory = new XMLTopicFactory( "testXMLTopicFactoryVirtualWiki", new WikiUser(), "testXMLTopicFactoryAuthorIpAddress"); xMLTopicFactory.characters(buf, 100, 1000); }
@Test(expected = NullPointerException.class) public void testEndElementThrowsNullPointerException1() throws Throwable { XMLTopicFactory xMLTopicFactory = new XMLTopicFactory( "testXMLTopicFactoryVirtualWiki", new WikiUser(), "testXMLTopicFactoryAuthorIpAddress"); xMLTopicFactory.endElement( "testXMLTopicFactoryNamespaceURI", "testXMLTopicFactorySName", "title"); }
@Test(expected = NullPointerException.class) public void testStartElementThrowsNullPointerException() throws Throwable { XMLTopicFactory xMLTopicFactory = new XMLTopicFactory( "testXMLTopicFactoryVirtualWiki", new WikiUser(""), "testXMLTopicFactoryAuthorIpAddress"); xMLTopicFactory.startElement( "testXMLTopicFactoryNamespaceURI", "testXMLTopicFactoryLName", "testXMLTopicFactoryQName", null); }