@Test public void testIsABaseCompact() throws Exception { MatcherAssert.assertThat(FlavoredCompact.create("id", "name", "kind", "flavor", "stopped"), isA(BaseCompact.class)); }
public static FlavoredCompact create(String id, String name, String kind, String flavor, String state) { FlavoredCompact result = new FlavoredCompact(); result.setId(id); result.setName(name); result.setKind(kind); result.setFlavor(flavor); result.setState(state); return result; }
FlavoredCompact extends BaseCompact { public static FlavoredCompact create(String id, String name, String kind, String flavor, String state) { FlavoredCompact result = new FlavoredCompact(); result.setId(id); result.setName(name); result.setKind(kind); result.setFlavor(flavor); result.setState(state); return result; } }
FlavoredCompact extends BaseCompact { public static FlavoredCompact create(String id, String name, String kind, String flavor, String state) { FlavoredCompact result = new FlavoredCompact(); result.setId(id); result.setName(name); result.setKind(kind); result.setFlavor(flavor); result.setState(state); return result; }  }
FlavoredCompact extends BaseCompact { public static FlavoredCompact create(String id, String name, String kind, String flavor, String state) { FlavoredCompact result = new FlavoredCompact(); result.setId(id); result.setName(name); result.setKind(kind); result.setFlavor(flavor); result.setState(state); return result; }  static FlavoredCompact create(String id, String name, String kind, String flavor, String state); String getKind(); void setKind(String kind); String getFlavor(); void setFlavor(String flavor); String getState(); void setState(String state); @Override boolean equals(Object o); @Override int hashCode(); }
FlavoredCompact extends BaseCompact { public static FlavoredCompact create(String id, String name, String kind, String flavor, String state) { FlavoredCompact result = new FlavoredCompact(); result.setId(id); result.setName(name); result.setKind(kind); result.setFlavor(flavor); result.setState(state); return result; }  static FlavoredCompact create(String id, String name, String kind, String flavor, String state); String getKind(); void setKind(String kind); String getFlavor(); void setFlavor(String flavor); String getState(); void setState(String state); @Override boolean equals(Object o); @Override int hashCode();  }