Code Duplication    Length = 7-7 lines in 2 locations

tests/unit/DropdownTest.php 2 locations

@@ 54-60 (lines=7) @@
51
	}	
52
53
	/** @test */
54
	public function it_provides_expected_values()
55
	{
56
		$form = $this->form();
57
		$form->dropdown('foo')->options(['a'=>'A', 'b'=>'B', 'c'=>'C']);
58
59
		$this->assertSame($form->get('foo'), '');
60
	}	
61
62
	/** @test */
63
	public function it_provides_expected_default_values()
@@ 63-69 (lines=7) @@
60
	}	
61
62
	/** @test */
63
	public function it_provides_expected_default_values()
64
	{
65
		$form = $this->form();
66
		$form->dropdown('foo')->options(['a'=>'A', 'b'=>'B', 'c'=>'C'])->default('c');
67
68
		$this->assertSame($form->get('foo'), 'c');
69
	}
70
71
	/** @test */
72
    public function it_validates_required()