@Test public void isLinkedApplication () { ReflectionTestUtils.setField(cloudFoundrySelfAwareness, "linkedApplicationNames", linkedApplications); assertTrue(cloudFoundrySelfAwareness.isFriendly("ChaosMongo")); assertTrue(cloudFoundrySelfAwareness.isFriendly("ChaosUtil")); assertFalse(cloudFoundrySelfAwareness.isFriendly(engineName)); }
public boolean isFriendly (String applicationName) { return linkedApplicationNames != null && linkedApplicationNames.contains(applicationName); }
CloudFoundrySelfAwareness { public boolean isFriendly (String applicationName) { return linkedApplicationNames != null && linkedApplicationNames.contains(applicationName); } }
CloudFoundrySelfAwareness { public boolean isFriendly (String applicationName) { return linkedApplicationNames != null && linkedApplicationNames.contains(applicationName); }  }
CloudFoundrySelfAwareness { public boolean isFriendly (String applicationName) { return linkedApplicationNames != null && linkedApplicationNames.contains(applicationName); }  static CloudFoundrySelfAwarenessBuilder builder(); boolean isMe(String applicationName); boolean isFriendly(String applicationName); }
CloudFoundrySelfAwareness { public boolean isFriendly (String applicationName) { return linkedApplicationNames != null && linkedApplicationNames.contains(applicationName); }  static CloudFoundrySelfAwarenessBuilder builder(); boolean isMe(String applicationName); boolean isFriendly(String applicationName);  }