@@ -0,0 +1,1020 @@
+package uk.ac.ebi.spot.goci.curation.model;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.runners.MockitoJUnitRunner;%0Aimport uk.ac.ebi.spot.goci.curation.model.mail.CurationSystemEmail;%0Aimport uk.ac.ebi.spot.goci.curation.model.mail.CurationSystemEmailToCurator;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * Created by emma on 09/03/2016.%0A *%0A * @author emma%0A *         %3Cp%3E%0A *         Test for uk/ac/ebi/spot/goci/curation/model/mail/CurationSystemEmail.java%0A */%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class TestCurationSystemEmail %7B%0A%0A    private CurationSystemEmail email;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        email = new CurationSystemEmailToCurator();%0A        email.setBody(%22This is a test.%22);%0A    %7D%0A%0A    @Test%0A    public void testAddBody() %7B%0A        String newTextToAdd = %22 Will this test pass?%22;%0A        email.addToBody(newTextToAdd);%0A        assertEquals(%22This is a test. Will this test pass?%22, email.getBody());%0A    %7D%0A%7D%0A

Test for new abstract email class method