@Test
public void testUnknownError() {

	String code = "";
	String message = "";
	try {
		MediaWikiApiErrorHandler.throwMediaWikiApiErrorException("unknown",
				"some message");
	} catch (MediaWikiApiErrorException e) {
		code = e.getErrorCode();
		message = e.getErrorMessage();
	}
	assertEquals("unknown", code);
	assertEquals("some message", message);
}