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