public void RegistrationUDP() { Registor regist = Registor.getInstance(); var container = regist.Get(); var instance = container.GetInstance <IProtocol>("UDP"); Assert.IsInstanceOf(typeof(UDPParser), instance); }
public void Constructor() { Registor regist = Registor.getInstance(); Assert.IsInstanceOf(typeof(UDPParser), regist.Get().GetInstance <IProtocol>("UDP")); }