@Test public void differentMultipleResponsesNotEqual() { DiagnosticRequest anotherRequest = new DiagnosticRequest( bus, id, mode); anotherRequest.setMultipleResponses(true); assertThat(request, not(equalTo(anotherRequest))); }
public void setMultipleResponses(boolean multipleResponses) { mMultipleResponses = multipleResponses; }
DiagnosticRequest extends DiagnosticMessage { public void setMultipleResponses(boolean multipleResponses) { mMultipleResponses = multipleResponses; } }
DiagnosticRequest extends DiagnosticMessage { public void setMultipleResponses(boolean multipleResponses) { mMultipleResponses = multipleResponses; } DiagnosticRequest(int busId, int id, int mode);  DiagnosticRequest(int busId, int id, int mode, int pid); protected  DiagnosticRequest(Parcel in); protected  DiagnosticRequest(); }
DiagnosticRequest extends DiagnosticMessage { public void setMultipleResponses(boolean multipleResponses) { mMultipleResponses = multipleResponses; } DiagnosticRequest(int busId, int id, int mode);  DiagnosticRequest(int busId, int id, int mode, int pid); protected  DiagnosticRequest(Parcel in); protected  DiagnosticRequest(); void setMultipleResponses(boolean multipleResponses); boolean hasFrequency(); void setFrequency(Double frequency); void setName(String name); boolean getMultipleResponses(); Double getFrequency(); boolean hasName(); String getName(); static boolean containsRequiredFields(Set<String> fields); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); }
DiagnosticRequest extends DiagnosticMessage { public void setMultipleResponses(boolean multipleResponses) { mMultipleResponses = multipleResponses; } DiagnosticRequest(int busId, int id, int mode);  DiagnosticRequest(int busId, int id, int mode, int pid); protected  DiagnosticRequest(Parcel in); protected  DiagnosticRequest(); void setMultipleResponses(boolean multipleResponses); boolean hasFrequency(); void setFrequency(Double frequency); void setName(String name); boolean getMultipleResponses(); Double getFrequency(); boolean hasName(); String getName(); static boolean containsRequiredFields(Set<String> fields); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); static final String ADD_ACTION_KEY; static final String CANCEL_ACTION_KEY; }