def METHOD_NAME(self, mock_read):
    watchdog = WatchdogType2('watchdog2')
    mock_read.return_value = 'inactive'
    assert not watchdog.is_armed()
    mock_read.return_value = 'active'
    assert watchdog.is_armed()