@Test
public void getNamedService() {

    assertNull(model.getNamedService(HasName.class, NAME));
    services.add(neededServiceRef);
    assertEquals(neededService, model.getNamedService(HasName.class, NAME));
}