In this lesson, we'll analyze two annotations that conditionally enable or disable execution of the annotated element, based on the Java Runtime Environment in charge of running the suite. With
@DisaledOnJre, certain versions of Java can be targeted specifically.
@EnabledOnJrecauses the annotated element to only be executed when the current Java environment is listed in its values
@DisabledOnJrecauses the annotated element to never be executed when the current Java environment is listed in its values