public void GetTemplate_ShouldReturnNone_WhenTypeIsNotRegistered(object content, T4TemplateProvider sut) { Check.That(sut.GetTemplate(content).HasValue).IsFalse(); }
public void GetTemplate_ShouldReturnNone_WhenContentIsNull(object content, T4TemplateProvider sut) { Check.That(sut.GetTemplate(content).HasValue).IsFalse(); }
public void GetTemplate_ShouldReturnTemplateInstance_WhenTypeIsRegistered(object content, T4TemplateProvider sut) { Check.That(sut.GetTemplate(content).HasValue).IsTrue(); }