File tree Expand file tree Collapse file tree
lib/Discovery/Events/Send
tests/spec/Discovery/Events/Send Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33namespace HubSpot \Discovery \Events \Send ;
44
5- use HubSpot \Client \Events \Send \Api \CustomEventDataApi ;
5+ use HubSpot \Client \Events \Send \Api \BasicApi ;
6+ use HubSpot \Client \Events \Send \Api \BatchApi ;
67use HubSpot \Discovery \DiscoveryBase ;
78
89/**
9- * @method CustomEventDataApi customEventDataApi()
10+ * @method BasicApi basicApi()
11+ * @method BatchApi batchApi()
1012 */
1113class Discovery extends DiscoveryBase {}
Original file line number Diff line number Diff line change 33namespace spec \HubSpot \Discovery \Events \Send ;
44
55use GuzzleHttp \Client ;
6- use HubSpot \Client \Events \Send \Api \CustomEventDataApi ;
6+ use HubSpot \Client \Events \Send \Api \BasicApi ;
7+ use HubSpot \Client \Events \Send \Api \BatchApi ;
78use HubSpot \Config ;
89use HubSpot \Discovery \Events \Send \Discovery ;
910use PhpSpec \ObjectBehavior ;
@@ -22,6 +23,7 @@ public function it_is_initializable()
2223
2324 public function it_creates_clients ()
2425 {
25- $ this ->customEventDataApi ()->shouldHaveType (CustomEventDataApi::class);
26+ $ this ->basicApi ()->shouldHaveType (BasicApi::class);
27+ $ this ->batchApi ()->shouldHaveType (BatchApi::class);
2628 }
2729}
You can’t perform that action at this time.
0 commit comments