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