SingletonScope singletonScope = pc.resolveScope(SingletonScope.class);
ProtoScope protoScope = pc.resolveScope(ProtoScope.class);
SessionScope sessionScope = pc.resolveScope(SessionScope.class);
RequestScope requestScope = pc.resolveScope(RequestScope.class);
assertTrue(singletonScope.accept(singletonScope));
assertFalse(singletonScope.accept(protoScope));
assertFalse(singletonScope.accept(sessionScope));
assertFalse(singletonScope.accept(requestScope));
assertTrue(protoScope.accept(singletonScope));