Eris\Generator\DateGeneratorTest::testCannotShrinkValuesOutsideOfItsDomain PHP Method

testCannotShrinkValuesOutsideOfItsDomain() public method

    public function testCannotShrinkValuesOutsideOfItsDomain()
    {
        $generator = new DateGenerator(new DateTime("2014-01-01T00:00:00"), new DateTime("2014-01-02T23:59:59"));
        $value = $generator($this->size, $this->rand);
        $generator->shrink(GeneratedValue::fromJustValue(new DateTime("2014-01-10T00:00:00"), 'date'));
    }