474475476477478479480481482483484
pa.set(b, "value", value); assertEquals(b.getValue(), value); registry.shutdown(); } @Test public void super_interface_methods_inherited_by_sub_interface() {
547548549550551552553554555556557
122123124125126127128129130131132
ToStringService ts = registry.getService(ToStringService.class); assertEquals(ts.toString(), "<ToStringService: ToString>"); registry.shutdown(); } @Test public void recursive_singleton_integration_test() {
142143144145146147148149
catch (RuntimeException ex) { // The details are checked elsewhere. } registry.shutdown(); } }
524525526527528529530531532533534
121122123124125126127128129130131
141142143144145146147148
213214215216217218219220221222223
233234235236237238239240241
129130131132133134135136
assertTrue(StartupModule.startupInvoked); // Ideally we'd have a way to show that the PerthreadManager was notified after // RegistryStartup did its thing, but ... r.shutdown(); } }