### Question:
HomeResource { @POST @Path("unmute") public void unmute() { String topic = Topics.smarthomeAll(SmarthomeFunctionTopics.MUTE); this.messageHub.publish(topic, "false", true); }  @GET @Produces(MediaType.APPLICATION_JSON) @Operation(tags = "home") SimplePluginEntity[] getPlugins(); @POST @Path("mute") void mute(); @POST @Path("unmute") void unmute(); static final String PATH; }### Answer:
@Test void testUnmute() { Response r = this.target.path("unmute").request().post(null); assertEquals(204, r.getStatus()); String topic = Topics.smarthomeAll(SmarthomeFunctionTopics.MUTE); Mockito.verify(this.messageHub).publish(topic, "false", true); }