@Test
public void testEmptyRepositoryProvidesDefaultConfiguration() throws IOException {

    final Storage storage = setupMockStorage(null);
    final InputStream configuration = new StoredOrDefaultConfigurationProvider(storage).getConfigurationStream();
    final InputStream expectedStream = getClass().getResourceAsStream("cloud-jenkins-defaults-assembly.zip");
    assertArrayEquals(IOUtils.toByteArray(expectedStream), IOUtils.toByteArray(configuration));
}