public CodeGroupConverterTests() { childNodeConverterMock = new Mock <INodeConverter <IRazorNode> >(); nodeConverterProviderMock = new Mock <IRazorNodeConverterProvider>(); nodeConverterProviderMock.SetupGet(p => p.NodeConverters) .Returns(new INodeConverter <IRazorNode>[] { childNodeConverterMock.Object }); converter = new CodeGroupConverter(nodeConverterProviderMock.Object); codeGroupNodeMock = new Mock <IWebFormsCodeGroupNode>(); }
public CodeGroupConverterTests() { childNodeConverterMock = new Mock<INodeConverter<IRazorNode>>(); nodeConverterProviderMock = new Mock<IRazorNodeConverterProvider>(); nodeConverterProviderMock.SetupGet(p => p.NodeConverters) .Returns(new INodeConverter<IRazorNode>[] { childNodeConverterMock.Object }); converter = new CodeGroupConverter(nodeConverterProviderMock.Object); codeGroupNodeMock = new Mock<IWebFormsCodeGroupNode>(); }