@Test public void checkGetElement() { TypeElement element = mock(TypeElement.class); EntityModel entity = new EntityModel(element); ASSERT.that(element).isEqualTo(entity.getElement()); }
public Element getElement() { return element; }
EntityModel implements EntityData { public Element getElement() { return element; } }
EntityModel implements EntityData { public Element getElement() { return element; } EntityModel(TypeElement element); }
EntityModel implements EntityData { public Element getElement() { return element; } EntityModel(TypeElement element); void fillFieldsList(Helper helper, List<EntityModel> models); Element getElement(); @Override String getName(); @Override String getFullQualifiedName(); @Override String getPackage(); @Override String getVariable(); MapperModel getMapper(); boolean hasAnnotationValue(); String getAnnotationValue(); List<FieldModel> getFields(); List<EntityModel> getDependencies(); }
EntityModel implements EntityData { public Element getElement() { return element; } EntityModel(TypeElement element); void fillFieldsList(Helper helper, List<EntityModel> models); Element getElement(); @Override String getName(); @Override String getFullQualifiedName(); @Override String getPackage(); @Override String getVariable(); MapperModel getMapper(); boolean hasAnnotationValue(); String getAnnotationValue(); List<FieldModel> getFields(); List<EntityModel> getDependencies();  }