@@ -0,0 +1,1912 @@
+package de.ddb.pdc.core;%0D%0A%0D%0Aimport de.ddb.pdc.core.answerers.AnswererFactory;%0D%0Aimport de.ddb.pdc.metadata.Author;%0D%0Aimport de.ddb.pdc.metadata.DDBItem;%0D%0Aimport java.util.Calendar;%0D%0Aimport java.util.GregorianCalendar;%0D%0Aimport org.junit.Test;%0D%0Aimport static org.junit.Assert.*;%0D%0A%0D%0Apublic class PublicDomainCalculatorImplTest %7B%0D%0A%0D%0A  @Test%0D%0A  public void calculateTest()%7B%0D%0A    QuestionnaireFactory questionaireFactory = new QuestionnaireFactory();%0D%0A    AnswererFactory answererFactory = new AnswererFactory();%0D%0A    PublicDomainCalculatorImpl publicDomainCalculatorIml =%0D%0A            new PublicDomainCalculatorImpl(questionaireFactory,answererFactory);%0D%0A%0D%0A    DDBItem ddbItemA = new DDBItem(%22123%22);%0D%0A    ddbItemA.setTitle(%22Dummy Title%22);%0D%0A    Calendar birthYearA = new GregorianCalendar();%0D%0A    birthYearA.set(1920, 10, 10);%0D%0A    Calendar deathYearA = new GregorianCalendar();%0D%0A    deathYearA.set(1995, 10, 10);%0D%0A    Author authorA = new Author(%22321%22, %22Dummy Author%22, birthYearA, %22GERMANY%22,%0D%0A            deathYearA, %22GERMANY%22);%0D%0A    ddbItemA.addAuthor(authorA);%0D%0A    ddbItemA.setPublishedYear(1955);%0D%0A%0D%0A    PDCResult resultA = publicDomainCalculatorIml.calculate(%22de%22, ddbItemA);%0D%0A    // because AUTHOR_DIED_MORE_THAN_70_YEARS_AGO is NO%0D%0A    assertFalse(resultA.isPublicDomain());%0D%0A%0D%0A    DDBItem ddbItemB = new DDBItem(%22123%22);%0D%0A    ddbItemB.setTitle(%22Dummy Title%22);%0D%0A    Calendar birthYearB = new GregorianCalendar();%0D%0A    birthYearB.set(1880, 10, 10);%0D%0A    Calendar deathYearB = new GregorianCalendar();%0D%0A    deathYearB.set(1925, 10, 10);%0D%0A    Author authorB = new Author(%22321%22, %22Dummy Author%22, birthYearB, %22GERMANY%22,%0D%0A            deathYearB, %22GERMANY%22);%0D%0A    ddbItemB.addAuthor(authorB);%0D%0A    ddbItemB.setPublishedYear(1925);%0D%0A%0D%0A    PDCResult resultB = publicDomainCalculatorIml.calculate(%22de%22, ddbItemB);%0D%0A    // because AUTHOR_DIED_MORE_THAN_70_YEARS_AGO is YES%0D%0A    assertTrue(resultB.isPublicDomain());%0D%0A  %7D%0D%0A%7D%0D%0A

Add Tests for PublicDomainCalculatorImpl