@Test
public void testExpand() {

  StudioProfilers profilers = new StudioProfilers(new ProfilerClient(myGrpcChannel.getName()), new FakeIdeProfilerServices(), myTimer);
  MemoryMonitor monitor = new MemoryMonitor(profilers);
  Truth.assertThat(profilers.getStage().getClass()).isEqualTo(NullMonitorStage.class);
  monitor.expand();
  Truth.assertThat(profilers.getStage()).isInstanceOf(MemoryProfilerStage.class);
}