public function testDelete() { $this->request->expects($this->once())->method('request')->with('sites/abc/environments/dev/hostnames/dev.example.com', ['method' => 'delete']); $this->domain->delete(); }