public void DuplicateNoneAllowed_DuplicatesRemoved() { //Arrange SandboxDirectiveBuilder builder = new SandboxDirectiveBuilder(); //Act builder.AllowNone().AllowNone(); //Assert string result = builder.Build(); Assert.Equal("'none'", result); }
public void NothingElseCalled_NoneReturned() { //Arrange SandboxDirectiveBuilder builder = new SandboxDirectiveBuilder(); //Act builder.AllowNone(); //Assert string result = builder.Build(); Assert.Equal("'none'", result); }
public void SomethingElseCalled_OnlyNoneReturned() { //Arrange SandboxDirectiveBuilder builder = new SandboxDirectiveBuilder(); //Act builder.AllowForms(); builder.AllowModals(); builder.AllowNone(); builder.AllowAny(); //Assert string result = builder.Build(); Assert.Equal("'none'", result); }