138139140141142143144145146147148
replayControls(); ServicePropertyObjectProvider p = new ServicePropertyObjectProvider(); Object result = p.provideObject(m, String.class, "MyService:value", null); assertEquals(h.getValue(), result); verifyControls(); }
152153154155156157158159160161162
ServicePropertyObjectProvider p = new ServicePropertyObjectProvider(); Location l = fabricateLocation(187); try { p.provideObject(null, null, "MyService", l); unreachable(); } catch (ApplicationRuntimeException ex) { assertExceptionSubstring(