Fakerino\Test\FakeData\Core\RegexFakeTest::testOptions PHP Method

testOptions() public method

public testOptions ( )
    public function testOptions()
    {
        $options = array('regexgenerator' => 'generator', 'expression' => 'expression');
        $regexFake = new RegexFake($options);
        $this->assertEquals($options['regexgenerator'], $regexFake->getOption('regexgenerator'));
        $this->assertEquals($options['expression'], $regexFake->getOption('expression'));
    }