Write tests for the workspace switcher block

Do we always have to pass all methods into `getMock()` ? What happens if we don't pass any at all?