@Test public void shouldSetGivenType() { String type = "fooType"; EventParameterRequest request = new EventParameterRequest("bar", "foo", type); assertThat(request.getType(), is(type)); }
public String getType() { return type; }
EventParameterRequest { public String getType() { return type; } }
EventParameterRequest { public String getType() { return type; } private  EventParameterRequest();  EventParameterRequest(String displayName, String eventKey, String type);  EventParameterRequest(String displayName, String eventKey); }
EventParameterRequest { public String getType() { return type; } private  EventParameterRequest();  EventParameterRequest(String displayName, String eventKey, String type);  EventParameterRequest(String displayName, String eventKey); String getEventKey(); String getDisplayName(); String getType(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
EventParameterRequest { public String getType() { return type; } private  EventParameterRequest();  EventParameterRequest(String displayName, String eventKey, String type);  EventParameterRequest(String displayName, String eventKey); String getEventKey(); String getDisplayName(); String getType(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }