@Test
public void testRequiredPriority() {

    // GIVEN
    final EntityManagerFactoryDecorator decorator = new EntityManagerFactoryDecorator();
    // WHEN
    final int priority = decorator.getPriority();
    // THEN
    assertThat(priority, equalTo(2));
}