@@ -0,0 +1,1007 @@
+package me.academeg.blog.dal.domain;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.UUID;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0A/**%0A * BaseEntityTest%0A *%0A * @author Yuriy A. Samsonov %3Cy.samsonov@erpscan.com%3E%0A * @version 1.0%0A * @date 04.02.2017%0A */%0Apublic class BaseEntityTest %7B%0A%0A    @Test%0A    public void emptyConstructor() throws Exception %7B%0A        TestEntity entity = new TestEntity();%0A        assertThat(entity.getId()).isNotNull();%0A    %7D%0A%0A    @Test%0A    public void idConstructorNull() throws Exception %7B%0A        TestEntity entity = new TestEntity(null);%0A        assertThat(entity.getId()).isNotNull();%0A    %7D%0A%0A    @Test%0A    public void idConstructorWithId() throws Exception %7B%0A        UUID id = UUID.randomUUID();%0A        TestEntity entity = new TestEntity(id);%0A        assertThat(entity.getId()).isEqualTo(id);%0A    %7D%0A%0A    static class TestEntity extends BaseEntity %7B%0A        public TestEntity() %7B%0A        %7D%0A%0A        public TestEntity(UUID id) %7B%0A            super(id);%0A        %7D%0A    %7D%0A%7D%0A

create test for base entity