# Path: auto_forensicate/recipes/base.py
# class BaseArtifact(object):
# class StringArtifact(BaseArtifact):
# class FileArtifact(BaseArtifact):
# class ProcessOutputArtifact(BaseArtifact):
# class BaseRecipe(object):
#   def __init__(self, name):
#   def _GetStream(self):
#   def CloseStream(self):
#   def OpenStream(self):
#   def size(self):
#   def readable_size(self):
#   def __init__(self, path, string_content):
#   def _GetStream(self):
#   def CloseStream(self):
#   def __init__(self, path):
#   def _GetStream(self):
#   def __init__(self, command, path, ignore_failure=False):
#   def _RunCommand(self):
#   def _GetStream(self):
#   def __init__(self, name, options=None):
#   def __enter__(self):
#   def __exit__(self, exc_type, exc_value, traceback):
#   def GetArtifacts(self):
# 
# Path: auto_forensicate/recipes/sysinfo.py
# class SysinfoRecipe(base.BaseRecipe):
#   _SYSTEM_PROFILER_CMD = [
#       '/usr/sbin/system_profiler', 'SPHardwareDataType', 'SPSoftwareDataType']
#   _NETWORKSETUP_CMD = [
#       '/usr/sbin/networksetup', '-listallhardwareports']
#   def GetArtifacts(self):


import unittest
import mock
from auto_forensicate.recipes import base
from auto_forensicate.recipes import sysinfo
      Model Name: MacBook Pro
      Model Identifier: MacBookPro14,3
      Processor Name: Intel Core i7
      Processor Speed: 2.8 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 16 GB
      Boot ROM Version: 185.0.0.0.0
      SMC Version (system): 2.45f0
      Serial Number (system): CAAAAAAAAAAA
      Hardware UUID: 12345678-E004-5158-AAA-BBBBB52F3949

Software:

    System Software Overview:

      System Version: macOS 10.14.3 (18D42)
      Kernel Version: Darwin 18.2.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: macbookpro2
      User Name: Someone Else (someoneelse)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 4 days 3:38
    """

  def testGetArtifactsFail(self):

# Path: auto_forensicate/recipes/base.py
# class BaseArtifact(object):
# class StringArtifact(BaseArtifact):
# class FileArtifact(BaseArtifact):
# class ProcessOutputArtifact(BaseArtifact):
# class BaseRecipe(object):
#   def __init__(self, name):
#   def _GetStream(self):
#   def CloseStream(self):
#   def OpenStream(self):
#   def size(self):
#   def readable_size(self):
#   def __init__(self, path, string_content):
#   def _GetStream(self):
#   def CloseStream(self):
#   def __init__(self, path):
#   def _GetStream(self):
#   def __init__(self, command, path, ignore_failure=False):
#   def _RunCommand(self):
#   def _GetStream(self):
#   def __init__(self, name, options=None):
#   def __enter__(self):
#   def __exit__(self, exc_type, exc_value, traceback):
#   def GetArtifacts(self):
# 
# Path: auto_forensicate/recipes/sysinfo.py
# class SysinfoRecipe(base.BaseRecipe):
#   _SYSTEM_PROFILER_CMD = [
#       '/usr/sbin/system_profiler', 'SPHardwareDataType', 'SPSoftwareDataType']
#   _NETWORKSETUP_CMD = [
#       '/usr/sbin/networksetup', '-listallhardwareports']
#   def GetArtifacts(self):


# Path: tests/sysinfo_tests.py
import unittest
import mock
from auto_forensicate.recipes import base
from auto_forensicate.recipes import sysinfo

      Model Name: MacBook Pro
      Model Identifier: MacBookPro14,3
      Processor Name: Intel Core i7
      Processor Speed: 2.8 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 16 GB
      Boot ROM Version: 185.0.0.0.0
      SMC Version (system): 2.45f0
      Serial Number (system): CAAAAAAAAAAA
      Hardware UUID: 12345678-E004-5158-AAA-BBBBB52F3949

Software:

    System Software Overview:

      System Version: macOS 10.14.3 (18D42)
      Kernel Version: Darwin 18.2.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: macbookpro2
      User Name: Someone Else (someoneelse)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 4 days 3:38
    """

  def testGetArtifactsFail(self):

    sysinfo_recipe = sysinfo.SysinfoRecipe('failsysinfo')