Code Duplication    Length = 7-7 lines in 2 locations

tests/LightSaml/Tests/HelperTest.php 2 locations

@@ 247-253 (lines=7) @@
244
        $this->assertTrue(Helper::validateWellFormedUriString(SamlConstants::AUTHN_CONTEXT_PASSWORD));
245
    }
246
247
    public function notBeforeProvider()
248
    {
249
        return array(
250
            array(1000, 900, 10, false),
251
            array(1000, 1100, 10, true),
252
        );
253
    }
254
255
    /**
256
     * @dataProvider notBeforeProvider
@@ 263-269 (lines=7) @@
260
        $this->assertEquals($expected, Helper::validateNotBefore($notBefore, $now, $allowedSecondsSkew));
261
    }
262
263
    public function notOnOrAfterProvider()
264
    {
265
        return array(
266
            array(1000, 900, 10, true),
267
            array(1000, 1100, 10, false),
268
        );
269
    }
270
271
    /**
272
     * @dataProvider notOnOrAfterProvider