main
 1<?xml version="1.0"?>
 2<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
 3  <CodeSnippet Format="1.0.0">
 4    <Header>
 5      <Title>Test Method with ExpectedException</Title>
 6      <Author>MbUnit</Author>
 7      <Description>Expansion snippet for a Test method</Description>
 8      <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/ExpectedExceptionAttribute</HelpUrl>
 9      <Shortcut>testexpectedexception</Shortcut>
10      <SnippetTypes>
11        <SnippetType>Expansion</SnippetType>
12      </SnippetTypes>
13    </Header>
14    <Snippet>
15      <Declarations>
16        <Literal>
17          <ID>name</ID>
18          <ToolTip>TestName</ToolTip>
19        </Literal>
20        <Literal>
21          <ID>type</ID>
22          <ToolTip>Expected Exception Type</ToolTip>
23        </Literal>
24      </Declarations>
25      <Code Language="csharp"><![CDATA[		[Test]
26        [ExpectedException(typeof($type$Exception))]
27        public void $name$()
28        {
29			
30        }
31	]]></Code>
32    </Snippet>
33  </CodeSnippet>
34</CodeSnippets>