public void DefaultCompositeViewTypeFactory_ValidateViewType_ShouldAllowInheritorsOfIViewT() { // Arrange // Act DefaultCompositeViewTypeFactory.ValidateViewType(typeof(ValidateViewType_ITestViewT)); // Assert }
public void DefaultCompositeViewTypeFactory_ValidateViewType_ShouldAllowIViewT() { // Arrange // Act DefaultCompositeViewTypeFactory.ValidateViewType(typeof(IView <object>)); // Assert }
public void DefaultCompositeViewTypeFactory_ValidateViewType_ShouldThrowArgumentExceptionForNonIViewBasedInterfaces() { // Arrange // Act DefaultCompositeViewTypeFactory.ValidateViewType(typeof(IAsyncResult)); // Assert }
public void DefaultCompositeViewTypeFactory_ValidateViewType_ShouldThrowArgumentExceptionForNonPublicInterfaces() { // Arrange // Act DefaultCompositeViewTypeFactory.ValidateViewType(typeof(ValidateViewType_IPrivateView)); // Assert }
public void DefaultCompositeViewTypeFactory_ValidateViewType_ShouldThrowArgumentExceptionForClassTypes() { // Arrange // Act DefaultCompositeViewTypeFactory.ValidateViewType(typeof(System.Collections.Hashtable)); // Assert }