@@ -51,9 +51,9 @@ public function testCoverGetsCastAsGraphCoverPhoto()
5151
5252 $ this ->responseMock ->getDecodedBody ()->willReturn ($ dataFromGraph );
5353 $ factory = new GraphNodeFactory ($ this ->responseMock ->reveal ());
54- $ graphObject = $ factory ->makeGraphEvent ();
54+ $ graphNode = $ factory ->makeGraphEvent ();
5555
56- $ cover = $ graphObject ->getCover ();
56+ $ cover = $ graphNode ->getCover ();
5757 $ this ->assertInstanceOf (GraphCoverPhoto::class, $ cover );
5858 }
5959
@@ -65,9 +65,9 @@ public function testPlaceGetsCastAsGraphPage()
6565
6666 $ this ->responseMock ->getDecodedBody ()->willReturn ($ dataFromGraph );
6767 $ factory = new GraphNodeFactory ($ this ->responseMock ->reveal ());
68- $ graphObject = $ factory ->makeGraphEvent ();
68+ $ graphNode = $ factory ->makeGraphEvent ();
6969
70- $ place = $ graphObject ->getPlace ();
70+ $ place = $ graphNode ->getPlace ();
7171 $ this ->assertInstanceOf (GraphPage::class, $ place );
7272 }
7373
@@ -79,9 +79,9 @@ public function testPictureGetsCastAsGraphPicture()
7979
8080 $ this ->responseMock ->getDecodedBody ()->willReturn ($ dataFromGraph );
8181 $ factory = new GraphNodeFactory ($ this ->responseMock ->reveal ());
82- $ graphObject = $ factory ->makeGraphEvent ();
82+ $ graphNode = $ factory ->makeGraphEvent ();
8383
84- $ picture = $ graphObject ->getPicture ();
84+ $ picture = $ graphNode ->getPicture ();
8585 $ this ->assertInstanceOf (GraphPicture::class, $ picture );
8686 }
8787
@@ -93,9 +93,9 @@ public function testParentGroupGetsCastAsGraphGroup()
9393
9494 $ this ->responseMock ->getDecodedBody ()->willReturn ($ dataFromGraph );
9595 $ factory = new GraphNodeFactory ($ this ->responseMock ->reveal ());
96- $ graphObject = $ factory ->makeGraphEvent ();
96+ $ graphNode = $ factory ->makeGraphEvent ();
9797
98- $ parentGroup = $ graphObject ->getParentGroup ();
98+ $ parentGroup = $ graphNode ->getParentGroup ();
9999 $ this ->assertInstanceOf (GraphGroup::class, $ parentGroup );
100100 }
101101}
0 commit comments