### Question:
PutJMS extends AbstractProcessor { @Override public Set<Relationship> getRelationships() { return relationships; } PutJMS(); @Override Set<Relationship> getRelationships(); @OnStopped void cleanupResources(); @Override void onTrigger(final ProcessContext context, final ProcessSession session); static final Charset UTF8; static final int DEFAULT_MESSAGE_PRIORITY; static final Relationship REL_SUCCESS; static final Relationship REL_FAILURE; }### Answer:
@Test public void testGetRelationships() { final PutJMS putJMS = new PutJMS(); final Set<Relationship> relationships = putJMS.getRelationships(); assertEquals(2, relationships.size()); assertTrue(relationships.contains(PutJMS.REL_FAILURE)); assertTrue(relationships.contains(PutJMS.REL_SUCCESS)); }