Muratori per la Realizzazione di Cucine in Cartongesso: Come Scegliere.
Come Scegliere i Muratori per la Realizzazione di Cucine in Cartongesso.
Scopri come scegliere i migliori muratori per la realizzazione di cucine in cartongesso. Questo articolo offre consigli utili e strategie per garantire un lavoro di qualità, ottimizzando il processo di ristrutturazione e migliorando l'estetica della tua casa. Ristrutturazioni, design e funzionalità si uniscono per risultati eccellenti.
Trova professionisti vicino a te
Trova professionisti
/**
* Copyright (C) 2013
* by 52 North Initiative for Geospatial Open Source Software GmbH
*
* Contact: Andreas Wytzisk
* 52 North Initiative for Geospatial Open Source Software GmbH
* Martin-Luther-King-Weg 24
* 48155 Muenster, Germany
* [email protected]
*
* This program is free software; you can redistribute and/or modify it under
* the terms of the GNU General Public License version 2 as published by the
* Free Software Foundation.
*
* This program is distributed WITHOUT ANY WARRANTY; even without the implied
* WARRANTY OF MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with
* this program (see gnu-gpl v2.txt). If not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA or
* visit the Free Software Foundation web page, http://www.fsf.org.
*/
package org.n52.sos.service.it.rest;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import java.io.IOException;
import java.net.URI;
import org.apache.xmlbeans.XmlException;
import org.apache.xmlbeans.XmlObject;
import org.junit.Test;
import org.n52.sos.service.it.AbstractComplianceSuiteTest;
import org.n52.sos.service.it.Response;
/**
* @author Eike Hinderk Jürrens
*
*/
public class DeleteRestBindingTest extends AbstractComplianceSuiteTest {
@Test
public void should_delete_observation_as_xml_using_rest_binding() throws XmlException, IOException
{
// pre
final String observationId = getObservationIds().get(0);
final URI uri = getURL("/sos/rest/observations/" + observationId);
final XmlObject xmlRequest = createDeleteObservationRequest(observationId);
// execute
Response response = deleteResource(uri, xmlRequest);
// validate
assertThat(response.getStatus(),is(200));
// verify (can not be done because no transaction support)
}
}