Check out the Syntax Highlighter plugin for Windows Live Writer.
///<summary> ///A test for CreateGallery (string) ///</summary> [TestMethod(), ExpectedException(typeof(ArgumentNullException))] public void CreateGallery_TestNull() { GalleryHelper target = new GalleryHelper(); string imageDirectory = null; target.CreateGallery(imageDirectory); }
Works just like you'd expect! If it had a few more niceties like taking out leading spaces, it'd be even better!
Page rendered at Tuesday, December 02, 2008 6:27:15 AM (Central Standard Time, UTC-06:00)
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.