### Question:
StyleHelper { public static void setFormStatus(final HTMLElement form, final FormStatus status) { if (status.equals(FormStatus.ERROR)) { DOMUtil.addUniqueEnumStyleName(form, ValidationState.class, ValidationState.ERROR); } else { DOMUtil.addUniqueEnumStyleName(form, ValidationState.class, ValidationState.NONE); } }  static void setFormStatus(final HTMLElement form,
                                     final FormStatus status);  }### Answer:
@Test public void testSetFormStatusValid() { PowerMockito.mockStatic(DOMUtil.class); StyleHelper.setFormStatus(form, FormStatus.VALID); verifyStatic(); DOMUtil.addUniqueEnumStyleName(form, ValidationState.class, ValidationState.NONE); }
@Test public void testSetFormStatusError() { PowerMockito.mockStatic(DOMUtil.class); StyleHelper.setFormStatus(form, FormStatus.ERROR); verifyStatic(); DOMUtil.addUniqueEnumStyleName(form, ValidationState.class, ValidationState.ERROR); }