'Test setting of NAS Security options.
The RemoteFS driver will force set options to false. The derived
objects will provide an inherited interface to properly set options.'

@mock.patch.object(remotefs, 'LOG')
def test_set_nas_security_options(self, LOG):

    drv = self._driver
    is_new_install = False
    drv.set_nas_security_options(is_new_install)
    self.assertEqual('false', drv.configuration.nas_secure_file_operations)
    self.assertEqual('false', drv.configuration.nas_secure_file_permissions)
    self.assertTrue(LOG.warning.called)
