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