@Test
public void testPerspectiveName() {

    when(perspectivePluginManager.isRuntimePerspective("A.1")).thenReturn(true);
    when(perspectiveTreeProvider.getPerspectiveName("B.1")).thenReturn("Pretty");
    assertEquals(presenter.getPerspectiveName("A.1"), "A.1");
    assertEquals(presenter.getPerspectiveName("B.1"), "Pretty");
}