Example #1
0
 /** @test */
 public function a_field_can_have_multiple_options()
 {
     $this->field->option('foo');
     $this->field->option('bar');
     $this->field->option('baz');
     $this->assertFalse($this->field->isEmpty());
     $this->assertTrue($this->field->hasOptions());
     $this->assertEquals(3, $this->field->count());
 }