Parkour\TransformTest::testNormalize PHP Method

testNormalize() public method

public testNormalize ( )
    public function testNormalize()
    {
        $data = ['one', 'two' => 'three', 'four'];
        $default = 'default';
        $expected = ['one' => $default, 'two' => 'three', 'four' => $default];
        $this->assertEquals($expected, Transform::normalize($data, $default));
    }