@@ -51,9 +51,9 @@ public function testCoverGetsCastAsGraphCoverPhoto()
51
51
52
52
$ this ->responseMock ->getDecodedBody ()->willReturn ($ dataFromGraph );
53
53
$ factory = new GraphNodeFactory ($ this ->responseMock ->reveal ());
54
- $ graphObject = $ factory ->makeGraphEvent ();
54
+ $ graphNode = $ factory ->makeGraphEvent ();
55
55
56
- $ cover = $ graphObject ->getCover ();
56
+ $ cover = $ graphNode ->getCover ();
57
57
$ this ->assertInstanceOf (GraphCoverPhoto::class, $ cover );
58
58
}
59
59
@@ -65,9 +65,9 @@ public function testPlaceGetsCastAsGraphPage()
65
65
66
66
$ this ->responseMock ->getDecodedBody ()->willReturn ($ dataFromGraph );
67
67
$ factory = new GraphNodeFactory ($ this ->responseMock ->reveal ());
68
- $ graphObject = $ factory ->makeGraphEvent ();
68
+ $ graphNode = $ factory ->makeGraphEvent ();
69
69
70
- $ place = $ graphObject ->getPlace ();
70
+ $ place = $ graphNode ->getPlace ();
71
71
$ this ->assertInstanceOf (GraphPage::class, $ place );
72
72
}
73
73
@@ -79,9 +79,9 @@ public function testPictureGetsCastAsGraphPicture()
79
79
80
80
$ this ->responseMock ->getDecodedBody ()->willReturn ($ dataFromGraph );
81
81
$ factory = new GraphNodeFactory ($ this ->responseMock ->reveal ());
82
- $ graphObject = $ factory ->makeGraphEvent ();
82
+ $ graphNode = $ factory ->makeGraphEvent ();
83
83
84
- $ picture = $ graphObject ->getPicture ();
84
+ $ picture = $ graphNode ->getPicture ();
85
85
$ this ->assertInstanceOf (GraphPicture::class, $ picture );
86
86
}
87
87
@@ -93,9 +93,9 @@ public function testParentGroupGetsCastAsGraphGroup()
93
93
94
94
$ this ->responseMock ->getDecodedBody ()->willReturn ($ dataFromGraph );
95
95
$ factory = new GraphNodeFactory ($ this ->responseMock ->reveal ());
96
- $ graphObject = $ factory ->makeGraphEvent ();
96
+ $ graphNode = $ factory ->makeGraphEvent ();
97
97
98
- $ parentGroup = $ graphObject ->getParentGroup ();
98
+ $ parentGroup = $ graphNode ->getParentGroup ();
99
99
$ this ->assertInstanceOf (GraphGroup::class, $ parentGroup );
100
100
}
101
101
}
0 commit comments