Lines Matching refs:this

17         $this->node = new FileMock();
18 $this->tree[] = $this->node;
22 $this->plugin = new Plugin();
23 $this->server->addPlugin($this->plugin);
31 $this->assertEquals('partialupdate', $this->plugin->getPluginName());
32 $this->assertEquals(['sabredav-partialupdate'], $this->plugin->getFeatures());
33 $this->assertEquals([
35 ], $this->plugin->getHTTPMethods('partial'));
36 $this->assertEquals([
37 ], $this->plugin->getHTTPMethods(''));
43 $this->node->put('00000000');
48 $response = $this->request($request);
50 $this->assertEquals(400, $response->status, 'Full response body:' . $response->body);
56 $this->node->put('00000000');
61 $response = $this->request($request);
63 $this->assertEquals(405, $response->status, 'Full response body:' . $response->body);
69 $this->node->put('00000000');
74 $response = $this->request($request);
76 $this->assertEquals(415, $response->status, 'Full response body:' . $response->body);
82 $this->node->put('00000000');
87 $response = $this->request($request);
89 $this->assertEquals(416, $response->status, 'Full response body:' . $response->body);
95 $this->node->put('00000000');
100 $response = $this->request($request);
102 $this->assertEquals(411, $response->status, 'Full response body:' . $response->body);
108 $this->node->put('00000000');
113 $response = $this->request($request);
115 $this->assertEquals(204, $response->status, 'Full response body:' . $response->body);
116 $this->assertEquals('00011100', $this->node->get());
122 $this->node->put('00000');
128 $response = $this->request($request);
130 …$this->assertEquals(204, $response->getStatus(), 'Full response body:' . $response->getBodyAsStrin…
131 $this->assertEquals('00111', $this->node->get());