@@ -0,0 +1,758 @@
+package uk.gov.register.util;%0A%0Aimport org.junit.Test;%0Aimport uk.gov.register.core.HashingAlgorithm;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.equalTo;%0A%0Apublic class HashValueTest %7B%0A    @Test%0A    public void encode_shouldReturnPrependHashing() %7B%0A        HashValue hashValue = new HashValue(HashingAlgorithm.SHA256, %22hash%22);%0A        String encodedHash = hashValue.encode();%0A%0A        assertThat(encodedHash, equalTo(HashingAlgorithm.SHA256.toString() + %22:hash%22));%0A    %7D%0A%0A    @Test%0A    public void decode_shouldReturnRawHash() %7B%0A        HashValue hashValue = new HashValue(HashingAlgorithm.SHA256, %22hash%22);%0A        String decodedHash = hashValue.decode();%0A%0A        assertThat(decodedHash, equalTo(%22hash%22));%0A    %7D%0A%7D

Add HashValue test