@@ -156,7 +156,7 @@ public function testGetSetBlackBerry()
156156 $ this ->assertSame ($ notification , $ notification ->setBlackBerry ($ blackBerry ));
157157 $ this ->assertSame ($ blackBerry , $ notification ->getBlackBerry ());
158158 }
159-
159+
160160 /**
161161 * Test method for the `getCampain()` and `setCampain($campain)` functions.
162162 */
@@ -168,6 +168,18 @@ public function testGetSetCampain()
168168 $ this ->assertSame ('CAMPAIN ' , $ notification ->getCampain ());
169169 }
170170
171+ /**
172+ * Test method for the `getChrome()` and `setChrome($chrome)` functions.
173+ */
174+ public function testGetSetChrome ()
175+ {
176+ $ notification = new Notification ();
177+ $ this ->assertNull ($ notification ->getChrome ());
178+ $ chrome = new Chrome ();
179+ $ this ->assertSame ($ notification , $ notification ->setChrome ($ chrome ));
180+ $ this ->assertSame ($ chrome , $ notification ->getChrome ());
181+ }
182+
171183 /**
172184 * Test method for the `getContent()` and `setContent($aDM)` functions.
173185 */
@@ -179,7 +191,7 @@ public function testGetSetContent()
179191 // Test with a simple string
180192 $ this ->assertSame ($ notification , $ notification ->setContent ('Hello ! ' ));
181193 $ this ->assertSame ('Hello ! ' , $ notification ->getContent ());
182-
194+
183195 // Test with a map of ISO 639-1 language => message
184196 $ this ->assertSame (
185197 $ notification ,
@@ -227,6 +239,18 @@ public function testGetSetFilter()
227239 $ this ->assertSame ('FILTER ' , $ notification ->getFilter ());
228240 }
229241
242+ /**
243+ * Test method for the `getFirefox()` and `setFirefox($firefox)` functions.
244+ */
245+ public function testGetSetFirefox ()
246+ {
247+ $ notification = new Notification ();
248+ $ this ->assertNull ($ notification ->getChrome ());
249+ $ firefox = new Firefox ();
250+ $ this ->assertSame ($ notification , $ notification ->setFirefox ($ firefox ));
251+ $ this ->assertSame ($ firefox , $ notification ->getFirefox ());
252+ }
253+
230254 /**
231255 * Test method for the `getIOS()` and `setIOS($iOS)` functions.
232256 */
@@ -284,7 +308,7 @@ public function testGetSetPageId()
284308 $ this ->assertSame ($ notification , $ notification ->setPageId (15 ));
285309 $ this ->assertSame (15 , $ notification ->getPageId ());
286310 }
287-
311+
288312 /**
289313 * Test method for the `getPreset()` and `setPreset($preset)` functions.
290314 */
@@ -295,7 +319,7 @@ public function testGetSetPreset()
295319 $ this ->assertSame ($ notification , $ notification ->setPreset ('Q1A2Z-6X8SW ' ));
296320 $ this ->assertSame ('Q1A2Z-6X8SW ' , $ notification ->getPreset ());
297321 }
298-
322+
299323 /**
300324 * Test method for the `getRemotePage()` and `setRemotePage($remotePage)` functions.
301325 */
@@ -369,7 +393,7 @@ public function testGetSetSendDate()
369393 $ this ->assertSame ($ notification , $ notification ->setSendDate ($ dateTime ));
370394 $ this ->assertSame ($ dateTime , $ notification ->getSendDate ());
371395 }
372-
396+
373397 /**
374398 * Test method for the `getSendRate()` and `setSendRate($sendRate)` functions.
375399 */
@@ -380,7 +404,7 @@ public function testGetSetSendRate()
380404 $ this ->assertSame ($ notification , $ notification ->setSendRate (200 ));
381405 $ this ->assertSame (200 , $ notification ->getSendRate ());
382406 }
383-
407+
384408 /**
385409 * Test method for the `getTimezone()` and `setTimezone($timezone)` functions.
386410 */
0 commit comments