public void Constructor_AddsMvcSpecificKeywords(string keyword) { // Arrange var parser = new TestMvcCSharpRazorCodeParser(); // Act var hasDirective = parser.HasDirective(keyword); // Assert Assert.True(hasDirective); }
public void Constructor_AddsModelKeyword() { var parser = new TestMvcCSharpRazorCodeParser(); Assert.True(parser.HasDirective("model")); }