public Integer size() {
        return uuidToAgentInstanceMap.size();
    }
@Test
    void shouldBeAbleToCreateAgentInstancesWithNullArrayOfAgentInstance() {
        AgentInstances agentInstances = new AgentInstances(systemEnvironment, mock(AgentStatusChangeListener.class), (AgentInstance[]) null);

        assertThat(agentInstances, is(not(nullValue())));
        assertThat(agentInstances.size(), is(0));
    }