### Question:
ThingsAgent implements ThingsService { @AgentCreated public void created() { log.debug("Agent created"); } ThingsAgent();   ThingsAgent(IInternalAccess agent,
                Map<String, ExposedThing> things,
                Map<String, IExternalAccess> children); @AgentCreated void created(); @Override IFuture<IExternalAccess> expose(String id); @Override IFuture<Void> destroy(String id);  }### Answer:
@Test public void createdShouldNotFail() { when(ia.createComponent(any())).thenReturn(mock(IFuture.class)); ThingsAgent agent = new ThingsAgent(ia, Map.of("counter", thing), children); agent.created(); assertTrue(true); }