/** * When called will return the array representation */ public function testWhenCalledWillReturnTheArrayRepresentation() { $labelValue = 'testing'; $label = new Label($labelValue); static::assertInternalType('array', $label->toArray()); return [$labelValue, $label]; }