@@ -0,0 +1,697 @@
+package uk.ac.ebi.quickgo.ontology.controller.validation;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static uk.ac.ebi.quickgo.ontology.controller.validation.GOTermPredicate.isValidGOTermId;%0A%0A/**%0A * @author Tony Wardell%0A * Date: 18/10/2016%0A * Time: 11:16%0A * Created with IntelliJ IDEA.%0A */%0Apublic class GOTermPredicateTest %7B%0A%0A    @Test%0A    public void isTrueIfCandidateIdHasCorrectFormat()%7B%0A        assertThat(isValidGOTermId().test(%22GO:1234123%22),is(true));%0A    %7D%0A%0A    @Test%0A    public void isFalseIfCandidateIdIsHasIncorrectFormat()%7B%0A        assertThat(isValidGOTermId().test(%22GO:ABCDEFGH%22),is(false));%0A    %7D%0A%7D%0A

Add test for invalid GO Term id.