public void Service_Template_Build_Test() { var types = new Type[] { typeof(ITestService) }; var template = ProxyGenerator.BuildTemplate(types); Assert.NotNull(template); Assert.Equal(types.Length, template.ClassList.Count); var className = template.ClassList.First().Name; Assert.Equal("AutoGeneratedTestService", className); }
public void BuildTemplateTest() { var types = new Type[] { typeof(ITokenService) }; var template = ProxyGenerator.BuildTemplate(types); }