PersistenceUnitDecorator implements TestMethodDecorator { @Override public int getPriority() { return 1; }  @Override int getPriority(); @Override void beforeTest(final TestInvocation invocation); @Override void afterTest(final TestInvocation invocation); @Override boolean isConfigurationSupported(final ExecutionContext ctx);  }
@Test public void testRequiredPriority() { final PersistenceUnitDecorator fixture = new PersistenceUnitDecorator(); final int priority = fixture.getPriority(); assertThat(priority, equalTo(1)); }