@Test
public void serviceReturnsTopologicalDomains() {

    List<TopologicalDomain> tads = ImmutableList.of(new TopologicalDomain(1, 1, 2, Collections.emptyMap()));
    Mockito.when(mockTadDao.getAllTads()).thenReturn(tads);
    List<TopologicalDomain> topologicalDomains = instance.getTopologicallyAssociatedDomains();
    assertThat(topologicalDomains, equalTo(tads));
}