@Test
public void buildsMarshallerWithNoNamespaceSchemaLocationProperty() throws Exception {

  JAXBContextFactory factory =
      new JAXBContextFactory.Builder()
          .withMarshallerNoNamespaceSchemaLocation("http://apihost/schema.xsd").build();
  Marshaller marshaller = factory.createMarshaller(Object.class);
  assertEquals("http://apihost/schema.xsd",
      marshaller.getProperty(Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION));
}