@@ -0,0 +1,875 @@
+package com.github.sbouclier.result;%0A%0Aimport com.fasterxml.jackson.databind.ObjectMapper;%0Aimport com.github.sbouclier.utils.StreamUtils;%0Aimport org.junit.Test;%0A%0Aimport java.io.IOException;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.core.StringStartsWith.startsWith;%0A%0A/**%0A * ServerTimeResult test%0A *%0A * @author St%C3%A9phane Bouclier%0A */%0Apublic class ServerTimeResultTest %7B%0A%0A    @Test%0A    public void should_return_to_string() throws IOException %7B%0A%0A        // Given%0A        final String jsonResult = StreamUtils.getResourceAsString(this.getClass(), %22json/server_time.mock.json%22);%0A        ServerTimeResult mockResult = new ObjectMapper().readValue(jsonResult, ServerTimeResult.class);%0A%0A        // When%0A        final String toString = mockResult.toString();%0A%0A        // Then%0A        assertThat(toString, startsWith(%22ServerTimeResult%22));%0A    %7D%0A%7D%0A

test toString