Exemplo n.º 1
0
        public void StartClerksNoClerksTest()
        {
            var fDesk = new FrontDesk();
            var res   = fDesk.StartClerks();

            Assert.AreEqual(res.Code, ResultCode.NoPluginsLoaded);
        }
Exemplo n.º 2
0
        public void StartClerksTest()
        {
            var fDesk = new FrontDesk(assemblies: new List <Assembly>()
            {
                typeof(SampleClerk).Assembly
            });
            var res = fDesk.StartClerks();

            Assert.AreEqual(res.Code, ResultCode.Success);
        }