/** * Test method for the <tt>getApplication()</tt> and <tt>setApplication($application)</tt> functions. */ public function testGetSetApplication() { $pushwoosh = new Pushwoosh(); $this->assertNull($pushwoosh->getApplication()); $this->assertSame($pushwoosh, $pushwoosh->setApplication('APPLICATION')); $this->assertEquals('APPLICATION', $pushwoosh->getApplication()); }