public void RegisterWithNullArgTest() { EditorFactoryNotifyForProjectAttribute target = new EditorFactoryNotifyForProjectAttribute(projectType, fileExtension, factoryType); MockRegistrationContext context = null; target.Register(context); }
public void RegisterTest() { EditorFactoryNotifyForProjectAttribute target = new EditorFactoryNotifyForProjectAttribute(projectType, fileExtension, factoryType); using (MockRegistrationContext context = new MockRegistrationContext()) { target.Register(context); } }