@Test public void testGetSchemaThrowsNullPointerException1() throws Throwable { FSDMsg fSDMsg = new FSDMsg(null, "testFSDMsgBaseSchema"); try { fSDMsg.getSchema("testFSDMsgMessage"); fail("Expected NullPointerException to be thrown"); } catch (NullPointerException ex) { assertNull("ex.getMessage()", ex.getMessage()); } }
@Test public void testGetSchemaThrowsMalformedURLException1() throws Throwable { FSDMsg fSDMsg = new FSDMsg("testFSDMsgBasePath", "testFSDMsgBaseSchema"); try { fSDMsg.getSchema("testFSDMsgMessage"); fail("Expected MalformedURLException to be thrown"); } catch (MalformedURLException ex) { assertEquals("ex.getClass()", MalformedURLException.class, ex.getClass()); } }