public void Returns_True_If_Type_Registered() { var registry = new SimpleTypeRegistry(); registry.Register(typeof(IEmptyInteface), typeof(ConcreteClassImplementingEmptyInterface)); Assert.True(registry.Contains(typeof(IEmptyInteface))); }
public void Returns_False_When_Registry_Is_Empty() { var registry = new SimpleTypeRegistry(); Assert.False(registry.Contains(typeof(System.String))); }