TypeFixture with Provider Factory MbUnit Expansion snippet for TypeFixture typefixturefac Expansion
namespace Test namespace MbUnitTests type Tested type ''' A TypeFixture for the $type$ class. ''' _ Public Class $type$Test #Region "SetUp and TearDown" ''' ''' Initializes the fixture ''' _ Public Sub SetUp(ByVal value As $type$) End Sub ''' ''' Cleans up the fixture ''' _ Public Sub TearDown(ByVal value As $type$) End Sub #End Region #Region "Test cases" _ Public Sub Test(ByVal value As $type$) End Sub #End Region End Class Public Class $type$Factory _ Public ReadOnly Property Factory As $type$ Get Return New $type$ End Get End Property End Class End Namespace ]]>