public void ConstructorParameterAreRequired() { _context.UnregisterFamily(typeof(ISampleContractA)); _context.Register(typeof(MultiConstructorsWithDefaultAndMarked)); _context.GetComponent <MultiConstructorsWithDefaultAndMarked>(); }
public void GetAfterUnregisterFamilyReturnsNull() { _context.UnregisterFamily(typeof(EmptyComponentAndContract)); var c = _context.GetComponent <EmptyComponentAndContract>(); Assert.IsNull(c); }
public void GetAfterUnregisterPlugThrows() { _context.UnregisterFamily(typeof(EmptyComponentAndContract)); _context.GetComponent <ComponentWithFieldPlug>(); }