### Question:
MicroblogReplyNotificationStrategy extends MicroblogNotificationStrategy { @Override public int send(List<Argument> arguments) { Twitter svc = buildUblogService(arguments); String destUser = findDestName(arguments); Status response; if (destUser == null || "".equals(destUser)) { log().error("Cannot send a microblog reply notice to a user with no microblog username set. Either set a microblog username for this OpenNMS user or use the MicroblogUpdateNotificationStrategy instead."); return 1; } if (destUser.startsWith("@")) destUser = destUser.substring(1); String fullMessage = String.format("@%s %s", destUser, buildMessageBody(arguments)); if (log().isDebugEnabled()) { log().debug("Dispatching microblog reply notification for user '" + svc.getUserId() + "' at base URL '" + svc.getBaseURL() + "' with message '" + fullMessage + "'"); } try { response = svc.updateStatus(fullMessage); } catch (TwitterException e) { log().error("Microblog notification failed"); log().info("Failed to update status for user '" + svc.getUserId() + "' at service URL '" + svc.getBaseURL() + "', caught exception: " + e.getMessage()); return 1; } log().info("Microblog reply notification succeeded: reply update posted with ID " + response.getId()); return 0; } MicroblogReplyNotificationStrategy();  MicroblogReplyNotificationStrategy(Resource configResource); @Override int send(List<Argument> arguments);  }### Answer:
@Ignore @Test @Override public void postNotice() { NotificationStrategy ns = new MicroblogReplyNotificationStrategy(m_daoConfigResource); List<Argument> arguments = configureArgs(); Assert.assertEquals("NotificationStrategy should return 0 on success", 0, ns.send(arguments)); }