Filter { public void setId(int id) { this.id = id; } Filter(int id, String name, String product); int getId(); void setId(int id); String getName(); void setName(String name); String getProduct(); void setProduct(String product); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testSetId_1() throws Exception { Filter fixture = new Filter(1, "", ""); int id = 1; fixture.setId(id); }