function testDeleteRequest() { $browser = new SimpleBrowser(); $browser->delete($this->samples() . 'request_methods.php'); $this->assertEqual($browser->getResponseCode(), 202); $this->assertPattern('/Your delete request was accepted/', $browser->getContent()); }