def METHOD_NAME(self, direction, plugin_name, plugin_type, libs):
    with patch('os.walk') as mockwalk:
        mockwalk.return_value = [('', plugin_name, []),
                                 ('', [], libs)]
        assert plugin_name, plugin_type == utils.find_c_plugin_libs(direction)