    @Test
    public void checkGhostBlog_404() throws IOException {

        String blogUrl = HTTPS + server.getHostName() + ":" + server.getPort() + "/THIS_DOESNT_EXIST";
        server.useHttps(Helpers.LOCALHOST_SOCKET_FACTORY, false);
        server.enqueue(new MockResponse().setResponseCode(404));
        OkHttpClient httpClient = Helpers.getProdHttpClient();

        try {
            checkGhostBlog(blogUrl, httpClient);
            fail("Test did not throw exception as expected!");
        } catch (Exception e) {
            assertThat(e, instanceOf(UrlNotFoundException.class));
        }
    }