use of org.apache.cxf.ws.transfer.Delete in project cxf by apache.
the class DeleteTest method getDeletedStudent.
@Test(expected = SOAPFaultException.class)
public void getDeletedStudent() throws XMLStreamException {
CreateResponse response = createStudent();
Resource client = TestUtils.createResourceClient(response.getResourceCreated());
client.delete(new Delete());
client.get(new Get());
}
use of org.apache.cxf.ws.transfer.Delete in project cxf by apache.
the class DeleteTest method deleteDeletedStudent.
@Test(expected = SOAPFaultException.class)
public void deleteDeletedStudent() throws XMLStreamException {
CreateResponse response = createStudent();
Resource client = TestUtils.createResourceClient(response.getResourceCreated());
client.delete(new Delete());
client.delete(new Delete());
}
Aggregations