/**
* Creates and refreshes an isosceles triangle.
*/
@Override
protected void createAndRefreshEntity() {
Isosceles isosceles = new Isosceles();
isosceles.setBase(1);
isosceles.setFormType(FormType.TRIANGLE_ISOSCELES);
entityManager.persist(isosceles);
entityManager.flush();
entityManager.refresh(isosceles);
}