@Test
void testConstructor() {

    HttpConstraintElement httpConstraintElement = new HttpConstraintElement(ServletSecurity.EmptyRoleSemantic.PERMIT);
    ServletSecurityElement element = new ServletSecurityElement(httpConstraintElement);
    assertEquals(ServletSecurity.EmptyRoleSemantic.PERMIT, element.getEmptyRoleSemantic());
    assertNotNull(element.getHttpMethodConstraints());
}