38 : void
39 {
40 $this->assertFalse(isset($this->dic['http']));
41 $this->assertFalse(isset($this->dic['http.response_sender_strategy']));
42 $this->assertFalse(isset($this->dic['http.cookie_jar_factory']));
43 $this->assertFalse(isset($this->dic['http.request_factory']));
44 $this->assertFalse(isset($this->dic['http.response_factory']));
45 (new \InitHttpServices())->
init($this->dic);
46 $this->assertInstanceOf("ILIAS\HTTP\Services", $this->dic->http());
47 $this->assertTrue(isset($this->dic['http']));
48 $this->assertTrue(isset($this->dic['http.response_sender_strategy']));
49 $this->assertTrue(isset($this->dic['http.cookie_jar_factory']));
50 $this->assertTrue(isset($this->dic['http.request_factory']));
51 $this->assertTrue(isset($this->dic['http.response_factory']));
52 }