22 : void
23 {
24 $this->assertFalse(isset($this->dic['http']));
25 $this->assertFalse(isset($this->dic['http.response_sender_strategy']));
26 $this->assertFalse(isset($this->dic['http.cookie_jar_factory']));
27 $this->assertFalse(isset($this->dic['http.request_factory']));
28 $this->assertFalse(isset($this->dic['http.response_factory']));
29 (new \InitHttpServices())->init($this->dic);
30 $this->assertInstanceOf("ILIAS\HTTP\Services", $this->dic->http());
31 $this->assertTrue(isset($this->dic['http']));
32 $this->assertTrue(isset($this->dic['http.response_sender_strategy']));
33 $this->assertTrue(isset($this->dic['http.cookie_jar_factory']));
34 $this->assertTrue(isset($this->dic['http.request_factory']));
35 $this->assertTrue(isset($this->dic['http.response_factory']));
36 }