@Test public void test_should_return_false_when_service_type_does_not_have_complaint_keyword() { final List<String> keywords = Arrays.asList("keyword1", "keyword2"); final String serviceName = "service type name"; final ServiceType serviceType = new ServiceType(serviceName, keywords); assertFalse(serviceType.isComplaintType()); }
public boolean isComplaintType() { return isKeywordPresent(COMPLAINT_KEYWORD); }
ServiceType { public boolean isComplaintType() { return isKeywordPresent(COMPLAINT_KEYWORD); } }
ServiceType { public boolean isComplaintType() { return isKeywordPresent(COMPLAINT_KEYWORD); }  }
ServiceType { public boolean isComplaintType() { return isKeywordPresent(COMPLAINT_KEYWORD); }  boolean isComplaintType(); boolean isDeliverableType(); }
ServiceType { public boolean isComplaintType() { return isKeywordPresent(COMPLAINT_KEYWORD); }  boolean isComplaintType(); boolean isDeliverableType();  }