public void RegElementsService() { var svc = new RegElementsService <TestElementInfo>(); svc.Register(new TestElementInfo(typeof(SampleElement))); TestRegElementsInService(svc); }
public void RegElementsServiceInfoIsNull() { var svc = new RegElementsService <TestElementInfo>(); Assert.Throws <ArgumentNullException>(() => svc.Register(null)); }