public void GetClerkBadTest() { var fDesk = new FrontDesk(assemblies: new List <Assembly>() { typeof(SampleClerk).Assembly }); var value = fDesk.GetClerk("invalid"); Assert.IsNull(value); }
public void GetClerkTest() { var fDesk = new FrontDesk(assemblies: new List <Assembly>() { typeof(SampleClerk).Assembly }); var value = fDesk.GetClerk("SampleClerk"); Assert.IsNotNull(value); Assert.AreEqual("SampleClerk", value.ID); }