Phue\Test\SoftwareUpdateTest::testDisableInstallNotification PHP Method

testDisableInstallNotification() public method

Test: Disable install notification
    public function testDisableInstallNotification()
    {
        // Expect client's sendCommand usage
        $this->mockClient->expects($this->once())->method('sendCommand')->with($this->isInstanceOf('\\Phue\\Command\\SetBridgeConfig'));
        // Ensure disableInstallNotification returns self
        $this->assertEquals($this->softwareUpdate, $this->softwareUpdate->disableInstallNotification());
        // Ensure new value can be retrieved by isInstallNotificationEnabled
        $this->assertEquals(false, $this->softwareUpdate->isInstallNotificationEnabled());
    }