# Path: googkit/lib/environment.py
# class Environment(object):
#     """Environment class that has runtime information.
#     """
# 
#     def __init__(self, cwd, argument, tree):
#         """Creates an environment by the cwd path, the Argument instance and the command tree.
#         """
#         self.cwd = cwd
#         self.argument = argument
#         self.tree = tree


import unittest
from googkit.compat.unittest import mock
from googkit.lib.environment import Environment



class TestEnvironmtnt(unittest.TestCase):
    def test_init(self):
        cwd = '/cwd'
        mock_argument = mock.MagicMock()
        mock_tree = mock.MagicMock()

        env = Environment(cwd, mock_argument, mock_tree)

        self.assertEqual(env.cwd, cwd)
        self.assertEqual(env.argument, mock_argument)
        self.assertEqual(env.tree, mock_tree)



# Path: googkit/lib/environment.py
# class Environment(object):
#     """Environment class that has runtime information.
#     """
# 
#     def __init__(self, cwd, argument, tree):
#         """Creates an environment by the cwd path, the Argument instance and the command tree.
#         """
#         self.cwd = cwd
#         self.argument = argument
#         self.tree = tree


# Path: test/lib/test_environment.py
import unittest
from googkit.compat.unittest import mock
from googkit.lib.environment import Environment




class TestEnvironmtnt(unittest.TestCase):
    def test_init(self):
        cwd = '/cwd'
        mock_argument = mock.MagicMock()
        mock_tree = mock.MagicMock()

        env = Environment(cwd, mock_argument, mock_tree)

        self.assertEqual(env.cwd, cwd)
        self.assertEqual(env.argument, mock_argument)
        self.assertEqual(env.tree, mock_tree)



if __name__ == '__main__':