@Test
public void shouldReturnNullWhenNoRepositoryConfigurationsSpecified() throws Exception {

    configFile = new StringRefAddr("configFile", "tck/default/repo-config.json");
    Repositories repositories = (Repositories)factory.getObjectInstance(reference, null, null, null);
    assertThat(repositories, is(nullValue()));
}