Example #1
0
  @Test
  public void identifierIsRequiredAndAvailable() {
    // given
    XssAttack xssAttack = new XssAttack("1");

    // when
    String identifier = xssAttack.getIdentifier();

    // then
    assertThat(identifier, is("1"));
  }