@Test
public void buildsMarshallerWithSchemaLocationProperty() throws Exception {

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