@Test
public void testGetName() {

    final Workspace workspace = mock(Workspace.class);
    final String name = "i am a mock";
    when(workspace.getName()).thenReturn(name);
    final WorkspaceFacade<Workspace, Session> facade = getFacade(workspace);
    assertSame("should be same", name, facade.getName());
}