function it_accepts_a_single_argument_of_image_for_gf_command(ImageContract $image) { $image->toAscii()->willReturn('FF00'); $image->width()->willReturn(2); $image->height()->willReturn(16); $this->gf($image)->toZpl()->shouldReturn("^XA\n^GFA,32,32,2,FF00\n^XZ"); }