<s> import unittest <EOL> from unittest . mock import patch <EOL> from Javatar . core . dependency_manager import _DependencyManager <EOL> class TestDependencyManager ( unittest . TestCase ) : <EOL> @ patch ( "<STR_LIT>" , return_value = True ) <EOL> @ patch ( <EOL> "<STR_LIT>" , <EOL> return_value = [ "<STR_LIT>" ] <EOL> ) <EOL> @ patch ( <EOL> "<STR_LIT>" , <EOL> return_value = [ "<STR_LIT>" ] <EOL> ) <EOL> def test_get_dependencies ( self , * _ ) : <EOL> dm = _DependencyManager ( ) <EOL> self . assertEqual ( <EOL> dm . get_dependencies ( from_global = True ) , <EOL> [ [ "<STR_LIT>" , True ] ] <EOL> ) <EOL> self . assertEqual ( <EOL> dm . get_dependencies ( from_global = False ) , <EOL> [ [ "<STR_LIT>" , False ] , [ "<STR_LIT>" , True ] ] <EOL> ) </s>
