@Test(dataProvider = "getSetValidStateParams") public void testSetValidState(FlavorState originalState, FlavorState newState) throws Exception { FlavorEntity flavor = new FlavorEntity(); flavor.setState(originalState); flavor.setState(newState); }
public void setState(FlavorState state) { EntityStateValidator.validateStateChange(this.getState(), state, FlavorState.PRECONDITION_STATES); this.state = state; }
FlavorEntity extends VisibleModelEntity { public void setState(FlavorState state) { EntityStateValidator.validateStateChange(this.getState(), state, FlavorState.PRECONDITION_STATES); this.state = state; } }
FlavorEntity extends VisibleModelEntity { public void setState(FlavorState state) { EntityStateValidator.validateStateChange(this.getState(), state, FlavorState.PRECONDITION_STATES); this.state = state; }  }
FlavorEntity extends VisibleModelEntity { public void setState(FlavorState state) { EntityStateValidator.validateStateChange(this.getState(), state, FlavorState.PRECONDITION_STATES); this.state = state; }  String getKind(); void setKind(String kind); List<QuotaLineItemEntity> getCost(); void setCost(List<QuotaLineItemEntity> cost); FlavorState getState(); void setState(FlavorState state); Flavor toApiRepresentation(); }
FlavorEntity extends VisibleModelEntity { public void setState(FlavorState state) { EntityStateValidator.validateStateChange(this.getState(), state, FlavorState.PRECONDITION_STATES); this.state = state; }  String getKind(); void setKind(String kind); List<QuotaLineItemEntity> getCost(); void setCost(List<QuotaLineItemEntity> cost); FlavorState getState(); void setState(FlavorState state); Flavor toApiRepresentation();  }