    @Test
    public void testGetResponseContainsALinkToTheV1Root() {

        final RootResource resource = new RootResource();
        final APIRootResponse response = resource.get(TestHelpers.generateSecureSecurityContext());

        assertHasKeyWithValue(
                response.getLinks(),
                "v1",
                Constants.HTTP_V1_ROOT);
    }