@Test
public void getLabelPlainLabel() {

    String testLabel = "This is a plain text";
    when(widget.getLabel()).thenReturn(testLabel);
    String label = uiRegistry.getLabel(widget);
    assertEquals(testLabel, label);
}