public void TestConstructorConsoleManager() { ConsoleManager testConsoleManager = new ConsoleManager(_env); Assert.IsNotNull(testConsoleManager, "Constructor of type, ConsoleManager failed to create instance."); Assert.AreEqual(_env, testConsoleManager.Environment, "Environment is unexpected value."); Assert.AreEqual(Encoding.UTF8, testConsoleManager.Encoding, "Encoding is unexpected value."); }
public void SetUp() { _env = new ApplicationEnvironment(); _unitUnderTest = new ConsoleManager(_env); }
public void TearDown() { _unitUnderTest = null; }
/// <summary> /// Constructors /// </summary> public ApplicationEnvironment() { m_dManager = new DataManager(this); m_lManager = new LogManager(this); m_gManager = new LoggerManager(this); m_pManager = new PluginManager(this); m_aManager = new ActionManager(this); m_jManager = new JobManager(this); m_rManager = new ReportManager(this); m_cManager = new CommandManager(this); m_console = new ConsoleManager(this); m_dmManager = new DMDescriptorKeeper(Util.GetDMDirs()); }