Here is the code I am using for the output in the end
public static String processMessage(String input)
{
String[] token = input.split(" ");
if (token[0] == "add")
return "yeah its a match";
else
return "not a match";
}
Here is the image of my test
Does anyone know what could be wrong?