public void ClassOutlineToolWindowConstructorTest() { ClassOutlineToolWindow target = new ClassOutlineToolWindow(); Assert.IsNotNull(target, "Failed to create an instance of ClassOutlineToolWindow"); MethodInfo method = target.GetType().GetMethod("get_Content", BindingFlags.Public | BindingFlags.Instance); Assert.IsNotNull(method.Invoke(target, null), "ClassOutlineControl object was not instantiated"); }
public void WindowPropertyTest() { ClassOutlineToolWindow target = new ClassOutlineToolWindow(); Assert.IsNotNull(target.Content, "Content property was null"); }