@Test
public void testGetCheckName() {

    final ProgressCheck delegate = mock(ProgressCheck.class);
    when(delegate.getCheckName()).thenReturn("delegate");
    final ProgressCheckAliasFacade withoutAlias = new ProgressCheckAliasFacade(delegate, null);
    assertEquals("delegate name", "delegate", withoutAlias.getCheckName());
    final ProgressCheckAliasFacade withAlias = new ProgressCheckAliasFacade(delegate, "alias");
    assertEquals("alias name", "alias", withAlias.getCheckName());
}