@Test
public void testDiskSpaceMessagesUninstallOnly() throws Exception {

    final long fullInstallationDownloadSize = 0;
    final long patchesDownloadSize = 0;
    final long spaceToBeFreedUp = 800*1024*1024L + 42;
    Pair<HtmlBuilder, HtmlBuilder> messages = SdkUpdaterConfigurable.getDiskUsageMessages(mySdkRoot, fullInstallationDownloadSize,
                                                                                          patchesDownloadSize, spaceToBeFreedUp);
    assertEquals(String.format(DISK_USAGE_HTML_TEMPLATE_WITHOUT_DOWNLOADS, "800.0 MB"),
                 messages.getFirst().getHtml());
    assertNull(messages.getSecond());
}