### Question:
ActivityConfiguration { public FileManagerCollector getFileManagerCollector() { return fileManagerCollector; } protected  ActivityConfiguration(); GeneralMessageCollector getGeneralMessageCollector(); @Inject void setGeneralMessageCollector(GeneralMessageCollector generalMessageCollector); NodeManagerCollector getNodeManagerCollector(); @Inject void setNodeManagerCollector(NodeManagerCollector nodeManagerCollector); UserManagerCollector getUserManagerCollector(); @Inject void setUserManagerCollector(UserManagerCollector userManagerCollector); FileManagerCollector getFileManagerCollector(); @Inject void setFileManagerCollector(FileManagerCollector fileManagerCollector);  }### Answer:
@Test public void testGetFileManagerCollector() { FileManagerCollector msg = new FileManagerCollector(null); activity.setFileManagerCollector(msg); assertEquals(activity.getFileManagerCollector(), msg); activity.setFileManagerCollector(null); assertNull(activity.getFileManagerCollector()); }