@@ 95-103 (lines=9) @@ | ||
92 | $this->assertEquals(SamlConstants::BINDING_SAML2_SOAP, $factory->detectBindingType($request)); |
|
93 | } |
|
94 | ||
95 | public function test__detect_none_get() |
|
96 | { |
|
97 | $request = new Request(); |
|
98 | $request->setMethod('GET'); |
|
99 | ||
100 | $factory = new BindingFactory(); |
|
101 | ||
102 | $this->assertNull($factory->detectBindingType($request)); |
|
103 | } |
|
104 | ||
105 | public function test__detect_none_post() |
|
106 | { |
|
@@ 105-113 (lines=9) @@ | ||
102 | $this->assertNull($factory->detectBindingType($request)); |
|
103 | } |
|
104 | ||
105 | public function test__detect_none_post() |
|
106 | { |
|
107 | $request = new Request(); |
|
108 | $request->setMethod('POST'); |
|
109 | ||
110 | $factory = new BindingFactory(); |
|
111 | ||
112 | $this->assertNull($factory->detectBindingType($request)); |
|
113 | } |
|
114 | ||
115 | public function test__get_binding_by_request_http_redirect() |
|
116 | { |