### Question:
MinijaxPersistenceProvider implements javax.persistence.spi.PersistenceProvider { @Override @SuppressWarnings("rawtypes") public void generateSchema(final PersistenceUnitInfo info, final Map map) { throw new UnsupportedOperationException(); } MinijaxPersistenceProvider(); @Override @SuppressWarnings({ "rawtypes", "unchecked" }) MinijaxEntityManagerFactory createEntityManagerFactory(final String emName, final Map map); @Override @SuppressWarnings({ "rawtypes", "unchecked" }) MinijaxEntityManagerFactory createContainerEntityManagerFactory(final PersistenceUnitInfo info, final Map map); @Override @SuppressWarnings("rawtypes") void generateSchema(final PersistenceUnitInfo info, final Map map); @Override @SuppressWarnings("rawtypes") boolean generateSchema(final String persistenceUnitName, final Map map); @Override ProviderUtil getProviderUtil();  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void testGenerateSchema1() { final MinijaxPersistenceProvider provider = new MinijaxPersistenceProvider(); provider.generateSchema("", null); }
@Test(expected = UnsupportedOperationException.class) public void testGenerateSchema2() { final MinijaxPersistenceProvider provider = new MinijaxPersistenceProvider(); provider.generateSchema((PersistenceUnitInfo) null, null); }