  @Test
  public void asObserverInfo()
  {

    final ArezContext context = Arez.context();
    final Observer observer = context.observer( AbstractTest::observeADependency );
    final ObserverInfo info = context.getSpy().asObserverInfo( observer );

    assertEquals( info.getName(), observer.getName() );
  }