Пример #1
0
 public void GetTemplate_ShouldReturnNone_WhenTypeIsNotRegistered(object content, T4TemplateProvider sut)
 {
     Check.That(sut.GetTemplate(content).HasValue).IsFalse();
 }
Пример #2
0
 public void GetTemplate_ShouldReturnNone_WhenContentIsNull(object content, T4TemplateProvider sut)
 {
     Check.That(sut.GetTemplate(content).HasValue).IsFalse();
 }
Пример #3
0
 public void GetTemplate_ShouldReturnTemplateInstance_WhenTypeIsRegistered(object content, T4TemplateProvider sut)
 {
     Check.That(sut.GetTemplate(content).HasValue).IsTrue();
 }