class Inspec::Plugin::V2::PluginType::Mock
Test
plugin type
Public Instance Methods
mock_hook()
click to toggle source
This is the API for the mock plugin type: when a mock plugin is activated, it is expected to be able to respond to this, and “do something”
# File lib/inspec/plugin/v2/plugin_types/mock.rb, line 8 def mock_hook raise NotImplementedError, "Mock plugins must implement mock_hook" end