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 with and expected exception</Description>
 8      <Shortcut>testexpectedexception</Shortcut>
 9      <SnippetTypes>
10        <SnippetType>Expansion</SnippetType>
11      </SnippetTypes>
12    </Header>
13    <Snippet>
14      <Declarations>
15        <Literal>
16          <ID>name</ID>
17          <ToolTip>TestName</ToolTip>
18          <Default>Test</Default>
19        </Literal>
20        <Literal>
21          <ID>type</ID>
22          <ToolTip>Expected Exception Type</ToolTip>
23        </Literal>
24      </Declarations>
25      <Code Language="VB"><![CDATA[		<Test(),ExpectedException(GetType($type$Exception))> _
26        Public Sub $name$()
27
28		End Sub
29]]></Code>
30    </Snippet>
31  </CodeSnippet>
32</CodeSnippets>