can get endpoints raw element, get entity by a separate call

This commit is contained in:
2025-01-04 22:37:16 +01:00
parent 55bad44a22
commit a88bb6d33f
12 changed files with 64 additions and 29 deletions

View File

@ -70,6 +70,7 @@ class SubscriptionProcessTest extends IntegrationTestCase
* @test
* @throws ReflectionException
* @covers \D3\KlicktippPhpClient\Resources\SubscriptionProcess::get
* @covers \D3\KlicktippPhpClient\Resources\SubscriptionProcess::getEntity
* @dataProvider getDataProvider
*/
public function testGet(ResponseInterface $response, ?Subscription $expected, bool $expectException = false)
@ -84,7 +85,7 @@ class SubscriptionProcessTest extends IntegrationTestCase
$expected,
$this->callMethod(
$sut,
'get',
'getEntity',
['470370']
)
);