public void UnregisterWithNullArgTest() { EditorFactoryNotifyForProjectAttribute target = new EditorFactoryNotifyForProjectAttribute(projectType, fileExtension, factoryType); MockRegistrationContext context = null; target.Unregister(context); }
public void UnregisterTest() { EditorFactoryNotifyForProjectAttribute target = new EditorFactoryNotifyForProjectAttribute(projectType, fileExtension, factoryType); using (MockRegistrationContext context = new MockRegistrationContext()) { target.Unregister(context); } }