public void NothingElseCalled_ScriptReturned() { //Arrange RequireSriForDirectiveBuilder builder = new RequireSriForDirectiveBuilder(); //Act builder.Script(); //Assert string result = builder.Build(); Assert.Equal("script", result); }
public void SomethingElseCalled_PreviousOverwritten() { //Arrange RequireSriForDirectiveBuilder builder = new RequireSriForDirectiveBuilder(); //Act builder.Style(); builder.Script(); //Assert string result = builder.Build(); Assert.Equal("script", result); }