@Test
public void testGetPriority_Object() {

    ServiceReference low = new MockLowPriorityServiceReference();
    assertThat(OSGIServiceComparator.getPriority(low)).isEqualTo(1);
    
    ServiceReference nullPriority = new MockServiceReference();
    assertThat(OSGIServiceComparator.getPriority(nullPriority)).isEqualTo(1);
    
    ServiceReference high = new MockHighPriorityServiceReference();
    assertThat(OSGIServiceComparator.getPriority(high)).isEqualTo(10);
}