Added setTopic test for Wala
@@ -52,6 +52,13 @@ class WALAPluginTest {
assertEquals("maven.packages", walaPlugin.consumerTopics().get(0));
}
+ @Test
+ public void testSetTopic() {
+ String topicName = "fasten.mvn.pkg";
+ walaPlugin.setTopic(topicName);
+ assertEquals(topicName, walaPlugin.consumerTopics().get(0));
+ }
+
@Test
public void testConsume() throws JSONException, IOException, ClassHierarchyException, CallGraphBuilderCancelException {
