@Test(expected = PropertyConstraintException.class) public void setName_Null_throwsPropertyConstraintException() { VariableType sut = new VariableType(); sut.setName(null); }
public void setName(String name) { nameValidator.validate(name); this.name = name; }
ComponentType implements Validatable { public void setName(String name) { nameValidator.validate(name); this.name = name; } }
ComponentType implements Validatable { public void setName(String name) { nameValidator.validate(name); this.name = name; }  }
ComponentType implements Validatable { public void setName(String name) { nameValidator.validate(name); this.name = name; }  String getName(); void setName(String name); String getInstance(); void setInstance(String instance); EVSEType getEvse(); void setEvse(EVSEType evse); @Override boolean validate(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
ComponentType implements Validatable { public void setName(String name) { nameValidator.validate(name); this.name = name; }  String getName(); void setName(String name); String getInstance(); void setInstance(String instance); EVSEType getEvse(); void setEvse(EVSEType evse); @Override boolean validate(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }