Closed susannemoog closed 8 years ago
Hey,
in my setUp() I have:
$this->blobRestProxy = $this->prophesize(BlobRestProxy::class);
and in my test:
$this->blobRestProxy->createBlockBlob('mycontainer', 'foo/bar', chr(26), Arg::any())->shouldHaveBeenCalled();
I can't get autocomplete on shouldHaveBeenCalled to work, except when explicitly setting up the prophecy in my test (which kind of defeats the purpose of my class var / setup). Am I missing some magic annotation I have to use?
Thanks,
Susi
Same here.
Hey,
in my setUp() I have:
$this->blobRestProxy = $this->prophesize(BlobRestProxy::class);
and in my test:
$this->blobRestProxy->createBlockBlob('mycontainer', 'foo/bar', chr(26), Arg::any())->shouldHaveBeenCalled();
I can't get autocomplete on shouldHaveBeenCalled to work, except when explicitly setting up the prophecy in my test (which kind of defeats the purpose of my class var / setup). Am I missing some magic annotation I have to use?
Thanks,
Susi