@Test
void prototype() {

    final ServiceReferenceImpl<Object> ref = new ServiceReferenceImpl<>(new Hashtable<>(), null,
            new PrototypeServiceFactory<SomeService>() {
                @Override
                public SomeService getService(final Bundle bundle, final ServiceRegistration<SomeService> registration) {
                    return new SomeService();
                }
                @Override
                public void ungetService(final Bundle bundle, final ServiceRegistration<SomeService> registration, final SomeService service) {
                    // no-op
                }
            });
    assertNotSame(ref.getReference(), ref.getReference());
}