@Test public void checkGetElement() { VariableElement element = mock(VariableElement.class); FieldModel model = new FieldModel(element, null); ASSERT.that(element).isEqualTo(model.getElement()); }
public VariableElement getElement() { return element; }
FieldModel { public VariableElement getElement() { return element; } }
FieldModel { public VariableElement getElement() { return element; } FieldModel(VariableElement element, EntityModel dependency); }
FieldModel { public VariableElement getElement() { return element; } FieldModel(VariableElement element, EntityModel dependency); static FieldKind getKind(Helper helper, VariableElement element); VariableElement getElement(); String getName(); TypeModel getType(); String getPropertyKey(); EntityModel getDependency(); @Override boolean equals(Object o); @Override int hashCode(); FieldKind getKind(Helper helper); }
FieldModel { public VariableElement getElement() { return element; } FieldModel(VariableElement element, EntityModel dependency); static FieldKind getKind(Helper helper, VariableElement element); VariableElement getElement(); String getName(); TypeModel getType(); String getPropertyKey(); EntityModel getDependency(); @Override boolean equals(Object o); @Override int hashCode(); FieldKind getKind(Helper helper);  }